Search found 5 matches
- Monday 17 September 2018 22:44
- Forum: dzVents
- Topic: Cannot activate persistent data
- Replies: 5
- Views: 927
Re: Cannot activate persistent data
Thanks dannybloe! Forty years of development, half a million LOC (C, C++ but novice in lua) and still BS in the eyes! you made my day. You could have added a smiley in your first response as a hint :-) I was starting to analyse and try to understand self.callEventHandler() ... Nice piece of code! In ...
- Monday 17 September 2018 20:32
- Forum: dzVents
- Topic: Cannot activate persistent data
- Replies: 5
- Views: 927
Re: Cannot activate persistent data
Thanks dannybloe for your quick answer and your kind words. I modified my script as follows: return { active = true, on = { ['timer'] = { 'every minute' } }, data = { mydata = { initial = 10 }, }, execute = function(domoticz) print("Old mydata: ") print(mydata) print("domoticz.data.mydata:") print ...
- Monday 17 September 2018 19:18
- Forum: dzVents
- Topic: Cannot activate persistent data
- Replies: 5
- Views: 927
Cannot activate persistent data
Hello, I am struggling for 2 days to activate persistent data. I run Domoticz on a Raspberry pi, and have 2 zsticks reading house and solar panel consumption. I want to create a composite meter showing how much electricity I use from the utility; the problem is that sometime I create more ...
- Wednesday 10 August 2016 2:32
- Forum: Other questions and discussions
- Topic: Stupid question: How to light a lamp with a switch?
- Replies: 1
- Views: 883
Stupid question: How to light a lamp with a switch?
Hello, I am new to Domoticz :D , and have been able to make it work on a RPI, detect chacon switchs using rfxcomm and activate a sonoff relay using espeasy. I even have been able to use scenes; but I have not found yet how to activate a switch (Domoticz name for a lamp!) when another (real) switch ...
- Wednesday 10 August 2016 2:05
- Forum: General Discussion
- Topic: Introduce yourself
- Replies: 547
- Views: 174020
Re: Introduce yourself
Hello, I'm Michel, I'm French, I live in Portugal and I try to do interesting things in my house with a raspberry pi, some ESP8266 and Chacon devices