@JeroenG I managed to get your script working.
But how does it work?
If the update_costs retrieves the prices, retrieves the power usage, calculates the costs and updates the cost sensor every hour,
then what does the Dvents do that the update_costs doesn't do?
Seems double, what am I missing?
Search found 7 matches
- Monday 20 March 2023 15:33
- Forum: Utility
- Topic: How to get actual usage from P1 device
- Replies: 6
- Views: 1287
- Thursday 28 May 2015 21:15
- Forum: Others
- Topic: Mi-Light / LimitlessLED / Applamp
- Replies: 232
- Views: 91179
Re: Mi-Light / LimitlessLED / Applamp
This is an textfile that helps me to make the bashscripts. Not complete ;) #!/bin/bash # ALLES echo -n -e "\x42\x00" | nc -u -q 1 192.168.192.11 8899 # Alles AAN echo -n -e "\x41\x00" | nc -u -q 1 192.168.192.11 8899 # Alles UIT Zone 1 echo -n -e "\x45\x00" | nc -u -q 1 192.168.192.11 8899 # zone 1 ...
- Thursday 28 May 2015 21:14
- Forum: Others
- Topic: Mi-Light / LimitlessLED / Applamp
- Replies: 232
- Views: 91179
Re: Mi-Light / LimitlessLED / Applamp
putty cd /home/pi/domoticz/scripts nano "script" script beginnen met: #!/bin/bash # dan de opdracht: echo ________________ na opslaan testen met bash -script dan rechten aanpassen met opdracht: chmod +x "scriptnaam" script toevoegen in Domoticz: script://home/pi/domotics/scripts.......
- Thursday 28 May 2015 21:12
- Forum: Others
- Topic: Mi-Light / LimitlessLED / Applamp
- Replies: 232
- Views: 91179
Re: Mi-Light / LimitlessLED / Applamp
I have very small scripts Seems to be important to give the good rights to the script. Bash with putty works, but activate with Domoticz only with chmod +x "scriptnaam" To turn al the lichts on: #!/bin/bash echo -n -e "\x42\x00" | nc -u -q 1 192.168.192.11 8899 # Alles AAN echo -n -e "\x4E\x3B" | nc ...
- Saturday 09 May 2015 13:23
- Forum: Others
- Topic: Mi-Light / LimitlessLED / Applamp
- Replies: 232
- Views: 91179
Re: Mi-Light / LimitlessLED / Applamp
I also work with the bash scripts and that works fine. But therefore its not necessary to add the device.
- Saturday 09 May 2015 13:19
- Forum: Others
- Topic: Mi-Light / LimitlessLED / Applamp
- Replies: 232
- Views: 91179
Mi-Light / LimitlessLED / Applamp
There are many topics talking about this RGB led controller. But I can't find the information I need. First, for everyone who use's the Mi-Light / LimitlessLED / Applamp and can't acces the Wifi-settings because it's V4 and sees only the Firmware update function. There is an app for Windows ...
- Sunday 05 April 2015 12:40
- Forum: Others
- Topic: JB-Media, RFXCOM
- Replies: 3
- Views: 1794
JB-Media, RFXCOM
I have the JB-Media Lightmanager Pro for using my Logitech Harmony remote with Klik Aan Klik Uit. I just started with the Raspberry Pi and Domoticz with the RFXCOM. Everything works fine, Thanks to Domoticz I even already have the floorplan running. Domoticz see's the KAKU sensors and Wallswitches ...