Page 1 of 1

Sample /Hold analog signal

Posted: Wednesday 24 October 2018 12:51
by Knibor
Hi,

I have build a battery monitor system.
I have 13 battery cells that I measure with a multiplexer. The battery cell what I want to measure can I choose with a switch in Domoticz.
For example when I want to measure Cell 1, I switch "on" "Switch 1" in Domoticz. I can now read the voltage on a indicator in Domoticz.
But now I want 13 voltage indicators in Domoticz, for each cell one.
So when Switch cell 1 is "on" than take a sample of the voltage indicator and put the voltage reading in voltage indicator 1.
And when Switch cell 2 is "on" than take a sample of the voltage indicator and put the voltage in voltage indicator 2....and so on.


Is this possible with dzVents? or other script
Has someone an example how to do this?

Kind Regards
Robin

Re: Sample /Hold analog signal

Posted: Friday 26 October 2018 7:04
by SweetPants
Posting your question 4 times won't speed up things. Please be patient and maybe somebody will respond.

viewtopic.php?f=59&t=25400
viewtopic.php?f=6&t=25309
viewtopic.php?f=62&t=25397

In my personal opinion, you need some external hardware with an analog multiplexer for 13 channels, and a CPU (Arduino, has build-in 10 bit ADC's) that translate the measured voltages in to messages for Domoticz. Because there is no hardware support for such a device, you have to write a plugin to support your hardware.