Trying to find a device to measure the voltage of a 12v battery which I use to start my generator. The generator / battery is in a shed in a remote location and is charged by a small solar panel.
I’d like the device to be powered by the battery as it is sending its data back to HA via either wifi or Bluetooth. It would work much like a temperature sensor, except we’re logging volts vs. temperature readings.
In your situation, you power it from the battery you are going to measure AND in order to actually measure the battery’s voltage, you also need to connect it to the proper input.
In your situation, I assume you power it with 12V from the battery(1 and 2), and also to (3 and 7).
This Shelly can also be powered using 5V, like USB, but in your situation you can simply use direct battery feed.
Measure voltage will be visible in the WebUI and of course in HA.
@ Using pins 1 OR 2 AND 7(GND) for powering is good because it doesn’t have to be constant but must be within specified range (9-28V), at least to my understanding. So in your situation the range might be like 12-15V(no charging/charging).
@ I have edited info about using pins after some more digging.
Hey, thanks so much Juras. I wired pos from batt to 1 & 3 - and neg from batt to 7 and it worked like a charm.
For anyone else’s benefit:
To connect to your Shelly device, connect your device to the Wi-Fi network with a name(SSID) like shelly1 - 84CCA87D??? . Use the universal IP address for all Shelly devices - 192.168. 33.1 to access your device’s Web Interface, where you can set a Wi-fi network for the Shelly uni to connect to.