Dear viewer, Recently I am experimenting with dashticz and trying to getting familiar with custom graphs. Problem I have is that I don't get the daily "energy returned" in the dashticz graph. I am using the below script in config.js for the block definition: blocks['P1_Stroom2'] = { title: 'Stroom ...
@Ittiz, Thanks for your clear explanation. Unfortunally I can not get it work. Below what I filled-in for notifications to one android device with domoticz lite. The log file does not give any error, but no notification arrived to mobile phone Log: 2020-03-15 13:14:07.888 Status: Notification ...
I have updated to script as below to monitor whether the else if commend is working corrrectly. This is the case commandArray = {} if devicechanged['$S2_SingleClick'] then if otherdevices['Tuinverlichting']=='Off' then commandArray['Tuinverlichting']='100'and print('Tuinverlichting aan') else ...
Hi Bewo, Thanks for your reply. The above script works partially if the "tuinverlichting" is on Then the "Tuinverlichting will switch off when pressing the $S2 Singleclick button When pressing again it will not toggle on again Looks like the part after else is not working When I reverse the on/off ...
I am trying to integrate the simple toggle function as action for a fibaro dimmer2 S2 singleclick. Sounds simple, but somehow I can not get it work. This is the script I am using: commandArray = {} if (devicechanged['$S2 SingleClick']=='On') and (otherdevices['Tuinverlichting']=='Off') then ...