Lua for Domoticz for beginners
Posted: Thursday 16 March 2017 16:49
I am using Domoticz for a while and I want to make it more clever with scripts, in this case Lua scripts. What I miss is a step by step tutorial Lua for Domoticz for beginners.
If somebody places a question on the forum than mostly there comes an answer for profs, too difficult. At the end of the day a lot of people are searching through the forum topics in the hope to find something that can help. I have the idea that a lot of beginners have these struggle and that can end in that he can solve his problem/question or that he thinks, I just leave it like that, I don’t want that struggle. That’s a pitty.
This situation is not only with Domoticz. I have also used Nodo and Cayenne. Both have the same problems. Experienced users can help each other, but the beginners are walking through the amount of topics on the forums without finding the proper answer.
Is it possible that we start making that tutorial for beginners in a very practical step by step way?
For now I have the following situation:
On my dashboard I want to have a slider to give in the desirable temperature. In that room I want to have a wireless temperature sensor. In a script I want to compare the desirable temperature with the measured temperature. The outcome of this gives a signal to a wireless relais board that switch a actuator on a floor heating distributer. I want to do this low cost, so no expensive thermostate or control box. Just a temperature sensor like DHT22, a ESP8266 Wifi board, a relais board and so on.
In Domoticz I made a slider.
How can I change the lowest value, the highest value and the startup value? Let say: the slider totally to the left is 10 ’C, the slider totally to the right is 30 ‘C.
How can I change the % symbol into ‘C symbol?
How do I read out the value of the slider?
Please an answer in beginners language.
If somebody places a question on the forum than mostly there comes an answer for profs, too difficult. At the end of the day a lot of people are searching through the forum topics in the hope to find something that can help. I have the idea that a lot of beginners have these struggle and that can end in that he can solve his problem/question or that he thinks, I just leave it like that, I don’t want that struggle. That’s a pitty.
This situation is not only with Domoticz. I have also used Nodo and Cayenne. Both have the same problems. Experienced users can help each other, but the beginners are walking through the amount of topics on the forums without finding the proper answer.
Is it possible that we start making that tutorial for beginners in a very practical step by step way?
For now I have the following situation:
On my dashboard I want to have a slider to give in the desirable temperature. In that room I want to have a wireless temperature sensor. In a script I want to compare the desirable temperature with the measured temperature. The outcome of this gives a signal to a wireless relais board that switch a actuator on a floor heating distributer. I want to do this low cost, so no expensive thermostate or control box. Just a temperature sensor like DHT22, a ESP8266 Wifi board, a relais board and so on.
In Domoticz I made a slider.
How can I change the lowest value, the highest value and the startup value? Let say: the slider totally to the left is 10 ’C, the slider totally to the right is 30 ‘C.
How can I change the % symbol into ‘C symbol?
How do I read out the value of the slider?
Please an answer in beginners language.