Beiträge von mhardy6351

    I have a garage door open closed indicator device.

    Very simple when the door is open, a tilt sensor transmitter sends a signal and the red led turns off and the green led turns on.

    The LEDs in the receiver are about 2.2 volts.

    Is there a way to read the LED on off status?

    A photo transistor or opto isolator type device.

    The receiver itself is 12 volts DC so I can power the uni. I need a way to read the LEDs and trigger an event or post to mqtt.

    I have the Shelly plus 1PM and successful using it to control the charging of a 48 volt eBike battery.

    The one issue I’m am having and I’m not sure is if the device is capable of is reading the DC voltage and current.

    The Shelly 1pm powers up, and connects to my WiFi.

    I can control the relay on/off and and I see the corresponding data on the mqtt broker.

    This is the topic data posted to the mqtt broker:

    {"id": 0, "source": "WS_in", "output": true, "apower": 0.000, "voltage": 0.000, "current": 0.000, "aenergy": {"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1637005201},"temperature":{"tC":46.9, "tF":116.4}}

    Is it possible to read DC voltage, or is the plus 1Pm only capable of reading AC voltage and current?