Sorry for my late reaction, i've been away for some time .
@Waltervl:
indeed the script is not triggered when i save athe scripts.
I use the same construction also to test if the script is triggered by a device or a variable.
also the system events for start and backup are logged if i declare ...
Search found 19 matches
- Tuesday 06 December 2022 16:03
- Forum: Bugs
- Topic: resetAllEvents not triggered
- Replies: 3
- Views: 2738
- Friday 25 November 2022 18:31
- Forum: Bugs
- Topic: resetAllEvents not triggered
- Replies: 3
- Views: 2738
resetAllEvents not triggered
I try too make use of the system event resetAllEvents.
But it looks like the event is not triggered.
Am i doing something wrong?
I used the attached script to test.
Gr. Bert
But it looks like the event is not triggered.
Am i doing something wrong?
I used the attached script to test.
Gr. Bert
- Thursday 03 December 2020 12:26
- Forum: Bugs
- Topic: state and active attributes of EvoHome HR92 (relay part)
- Replies: 5
- Views: 3619
Re: state and active attributes of EvoHome HR92 (relay part)
Hi Waaren,
i did test your solution and it works like you discibe it.
For me it would be more usefull if the value is always "Off" if _state != "On" ( so just have 2 possible values On/Off to check in my script), the same as the dimmers example which is discribed in the manual:
state: String ...
i did test your solution and it works like you discibe it.
For me it would be more usefull if the value is always "Off" if _state != "On" ( so just have 2 possible values On/Off to check in my script), the same as the dimmers example which is discribed in the manual:
state: String ...
- Tuesday 01 December 2020 12:33
- Forum: Bugs
- Topic: state and active attributes of EvoHome HR92 (relay part)
- Replies: 5
- Views: 3619
Re: state and active attributes of EvoHome HR92 (relay part)
Thx for reacting Waaren.
I'm not comletely sure how to interpreted device.state = device._state or "On".
But if, as result of this the state attribute is On whenever the value of _state != Off, then it is what i suggested
Gr. Bert
I'm not comletely sure how to interpreted device.state = device._state or "On".
But if, as result of this the state attribute is On whenever the value of _state != Off, then it is what i suggested
Gr. Bert
- Monday 30 November 2020 15:36
- Forum: Bugs
- Topic: state and active attributes of EvoHome HR92 (relay part)
- Replies: 5
- Views: 3619
state and active attributes of EvoHome HR92 (relay part)
For one of my scripts i need to know if the valve of the HR92 is (partly) opened.
By checking the state attribute (On/Off) or the active attribute (true/false) i should get this information.
I found that the state value is always Off and active is always false.
The reason for this is that in the ...
By checking the state attribute (On/Off) or the active attribute (true/false) i should get this information.
I found that the state value is always Off and active is always false.
The reason for this is that in the ...
- Saturday 28 December 2019 16:13
- Forum: Heating/cooling
- Topic: Evohome, setpoint for HR92
- Replies: 1
- Views: 656
Evohome, setpoint for HR92
I control my evohome system through the HGi80.
This works correct.
I do have a question about the HR92.
Is it possible to change the setpoint if the HR92 is set to OFF on the device itselfs?
Greets Bert
This works correct.
I do have a question about the HR92.
Is it possible to change the setpoint if the HR92 is set to OFF on the device itselfs?
Greets Bert
- Thursday 31 October 2019 11:02
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
Thank you so far for your help.
Gr. Bert
Gr. Bert
- Tuesday 29 October 2019 23:11
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
I changed the evohome_device.lua file like you asked.
Now i can use the attibute state again.
There is still one strange thing the relay "Schuur (P)".
If i manually change the state on the physical device, then no event is triggered.
So the device attributes are not correct.
I bound the relay ...
Now i can use the attibute state again.
There is still one strange thing the relay "Schuur (P)".
If i manually change the state on the physical device, then no event is triggered.
So the device attributes are not correct.
I bound the relay ...
- Saturday 26 October 2019 23:30
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
Herby the last two attachments.
- Saturday 26 October 2019 23:29
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
Hereby i send you the files you asked for
The first results are with the line ...device.state... enabled
Script file: Script_1.txt
Logfile : domoticz_1.lua.txt
domoticzData.lua.txt
In the second test i disabled the line ...device.state...
Script file Script_2.lua.txt
Logfile : domoticz_2.txt ...
The first results are with the line ...device.state... enabled
Script file: Script_1.txt
Logfile : domoticz_1.lua.txt
domoticzData.lua.txt
In the second test i disabled the line ...device.state...
Script file Script_2.lua.txt
Logfile : domoticz_2.txt ...
- Tuesday 22 October 2019 21:41
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
I did enable the logfile, can you tell me where i can find the log-file so i can share this?
Greetz Bert
Greetz Bert
- Tuesday 22 October 2019 11:18
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
Re: state attribute and battery level evohome devices [SOLVED]
Thanks for reacting so quicly.
I don't know the exact beta version anymore, but i updated the last time in the beginning of july 2019.
I had to do a fresh install because my SD card was corrupt.
Tonight i will provide you the information you asked for.
I don't know the exact beta version anymore, but i updated the last time in the beginning of july 2019.
I had to do a fresh install because my SD card was corrupt.
Tonight i will provide you the information you asked for.
- Sunday 20 October 2019 21:58
- Forum: Bugs
- Topic: state attribute and battery level evohome devices [SOLVED]
- Replies: 10
- Views: 10967
state attribute and battery level evohome devices [SOLVED]
I just did a fresh install on a rasberry pi and went to the last beta version of domoticz 4.11388
I connected my evohome system with the HGI80.
Now my scripts are not running anymore because the .state attribute has a value nil. The .active attribute does work for a HR92, but not for an extra relay ...
I connected my evohome system with the HGI80.
Now my scripts are not running anymore because the .state attribute has a value nil. The .active attribute does work for a HR92, but not for an extra relay ...
- Monday 16 October 2017 13:23
- Forum: dzVents
- Topic: Strange behaviour persistent data in dzVents in domoticz 3.8153
- Replies: 4
- Views: 790
Re: Strange behaviour persistent data in dzVents in domoticz 3.8153
I'll try tonight.
I'll let you know if it's working.
I'll let you know if it's working.
- Monday 16 October 2017 12:29
- Forum: dzVents
- Topic: Strange behaviour persistent data in dzVents in domoticz 3.8153
- Replies: 4
- Views: 790
Re: Strange behaviour persistent data in dzVents in domoticz 3.8153
Thanks for your reaction Danny.
I will try your suggestion.
The reason why i stored the complete device object in the the data variable is because of the example in the dzVents documentation ( in the persistent data chapter).
You can define as many variables as you like and put whatever value in ...
I will try your suggestion.
The reason why i stored the complete device object in the the data variable is because of the example in the dzVents documentation ( in the persistent data chapter).
You can define as many variables as you like and put whatever value in ...
- Sunday 15 October 2017 20:03
- Forum: dzVents
- Topic: Strange behaviour persistent data in dzVents in domoticz 3.8153
- Replies: 4
- Views: 790
Strange behaviour persistent data in dzVents in domoticz 3.8153
When converting my old lua scripts with dzVentz 1.1 i discoverd some strange/incorrect behaviour with the persistent data.
I occurs when i try to save the previous state of a domotics device with an initial value of nil or {}.
Every time the script runs the persistent data is reset to nil instead ...
I occurs when i try to save the previous state of a domotics device with an initial value of nil or {}.
Every time the script runs the persistent data is reset to nil instead ...
- Tuesday 10 October 2017 21:13
- Forum: Other questions and discussions
- Topic: Evohome BDR91?
- Replies: 10
- Views: 2115
Re: Evohome BDR91?
I added in the hardware tab the device as a Relay in the evohome line as an extra relay to switch on and off the pump of the floorheating.
The result of the mydevice.dump() statement is in the attachments
hardwareid = 8
devicetype = heating
deviceSubType = Relay
switchType = On/Off
Bert
The result of the mydevice.dump() statement is in the attachments
hardwareid = 8
devicetype = heating
deviceSubType = Relay
switchType = On/Off
Bert
- Monday 09 October 2017 13:45
- Forum: Other questions and discussions
- Topic: Evohome BDR91?
- Replies: 10
- Views: 2115
Re: Evohome BDR91?
Thanks for your reply Dannybloe.
I think you're right that it is not related to ezvents. But that is where i discovered it.
Last night i upgraded to the new version of domoticz and ezvents and i got the message in the log that the device did not support the switchOn or switchOff method.
I think it ...
I think you're right that it is not related to ezvents. But that is where i discovered it.
Last night i upgraded to the new version of domoticz and ezvents and i got the message in the log that the device did not support the switchOn or switchOff method.
I think it ...
- Sunday 08 October 2017 23:50
- Forum: Other questions and discussions
- Topic: Evohome BDR91?
- Replies: 10
- Views: 2115
Re: Evohome BDR91?
Since version 2 of ezvents, it is not possible anymore to switchon or switchOff an BDR91 relay.
Is this because it became a readonly device?
I use the BDR91 to switch-on the flooheating pump. To avoid the pump running unnessesary.
Is it posible to change this again to a device which is not read ...
Is this because it became a readonly device?
I use the BDR91 to switch-on the flooheating pump. To avoid the pump running unnessesary.
Is it posible to change this again to a device which is not read ...