Edit: The first thing is solved already. I changed sleep to wait in (conversionTime).
Anyhow I would like to be able to give my DS unique child ID and also a description, so it would be easier to recognize in Domoticz.
Edit: The first thing is solved already. I changed sleep to wait in (conversionTime).
Anyhow I would like to be able to give my DS unique child ID and also a description, so it would be easier to recognize in Domoticz.
Hello everyone.
My setup is Arduino 2560 + Domoticz on Rpi.
I need for my system a Dallas DS18B20 sketch with multiple relays.
Sketch should have an option of storage of Dallas addresses.
After couple of hours searching I found nice sketch on the Internet for my purpose, but there are two issues with it, maybe you will be able to help me with that.
The first one:
There is a specific timing, in which temperature is sent by onewire, now set to 10 sec. If I try to set the relay ON or OFF in this specific time, when onewire values are sent to Arduino, Domoticz will see, that I changed something, but this something will not be executed by the Arduino. For example I will click the relay ON at the time, when Arduino reads the values, in Domoticz status will be changed to ON, but the relay actually will stay OFF.
This is quite important for me to be working, because those relays will be operated by SVT automatically, so I will not be able to check if the relay went ON or OFF.
The second issue is that I can not (I don't know how) set the child ID's of termometers, which I would like to be starting from 101.
Below I'm sending you my code:
Thank you in advance for your help.