S_MULTIMETER Help
-
Hi
I am building a sensor to monitor a small solar/battery combination and am trying to use the Multimeter device to measure current in and out of the battery. I am using a 5amp ASC712 to read the current and then send the result to my Domoticz server.
I am getting the data back to Domoticz ok but it is not formatting as i would of hoped. The device is being shown as type Current, CM113. For example if I send 1.250 the Domoticz device will only show 1.2A . As the ASC712 can read current flow in both directions I can also send negative numbers when the battery is discharging, so if I send -2.350 the Domoticz device shows 2.3A and ignores the negative number.
I am thinking this may be a limitation of S_MULTIMETER ?
Interestingly using V_VOLTAGE results in showing three decimal places but V_CURRENT shows only one decimal place.
any help would be much appreciated.
-
I use S_CUSTOM and V_VOLTAGE to report voltage in my plant moisture sketch. Haven't tried with negative values, but I get three decimals. Maybe Domoticz handles S_CUSTOM better?
-
Thanks I will give that a try. I guess I could use two V_CURRENT devices, one for charging and one for discharging but an all in one would be better.
-
You can maybe use Temperature, but of course it will be wrong type but it can handle plus and minus
-
Im also having problems with domoticz and negative values. Im reporting value and want to see increase or decrease. And negative values are represented as long int value -1 (I think).
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 15 days ago -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47