Search found 8 matches
- Monday 24 December 2018 10:07
- Forum: dzVents
- Topic: local variable not updating until after script\working with json data
- Replies: 2
- Views: 400
Re: local variable not updating until after script\working with json data
Thank you, it works.
- Sunday 23 December 2018 18:53
- Forum: dzVents
- Topic: local variable not updating until after script\working with json data
- Replies: 2
- Views: 400
local variable not updating until after script\working with json data
I am trying to get the RGB value of a dummy_color_switch. The json value looks like this: Color "{\"b\":255,\"cw\":0,\"g\":247,\"m\":3,\"r\":199,\"t\":0,\"ww\":0}" in my dzvent script i would like to have 3 variables for Red\Green\Blue. So from the wiki i get that i need to use domoticz.utils ...
- Saturday 23 December 2017 20:40
- Forum: ESP8266
- Topic: Meek Wifi Wall Switch
- Replies: 81
- Views: 22774
Re: Meek Wifi Wall Switch
what is your goal with the code to check motion only when its dark? to use as a alarm or something?
If so, would you not want to do that in domoticz and not in the firmware of the switch\sensor.
If so, would you not want to do that in domoticz and not in the firmware of the switch\sensor.
- Sunday 17 December 2017 15:06
- Forum: ESP8266
- Topic: Meek Wifi Wall Switch
- Replies: 81
- Views: 22774
Re: Meek Wifi Wall Switch
Looks really cool Meek.
I dont know how to solve the interference but i dont think you need a motion sensor on each wall switch but in a few it could be very handy.
Im looking forward to see this when the project is complete.
I dont know how to solve the interference but i dont think you need a motion sensor on each wall switch but in a few it could be very handy.
Im looking forward to see this when the project is complete.
- Saturday 09 December 2017 17:43
- Forum: ESP8266
- Topic: ESP8266 mqtt blinds build
- Replies: 1
- Views: 3986
ESP8266 mqtt blinds build
Hello all, I finally finished my automated (vertical) blinds and its now time to share my work. The goal was to control my blinds using domoticz, since it costed to much time and effort to manually change them when the sun moved. this project uses a Wemos board that subscribes to a mqtt topic on the ...
- Tuesday 25 April 2017 8:34
- Forum: Utility
- Topic: Domoticz settings for sending P1 smart meter data over network
- Replies: 6
- Views: 6339
Re: Domoticz settings for sending P1 smart meter data over network
so the script updates the domoticz device using json: sprintf(url, "http://%s:%d/json.htm?type=command¶m=udevice&idx=%d&nvalue=%d&svalue=%s", domoticzIP, domoticzPort, idx, nValue, sValue); You should read the wiki regarding json If i remember correctly under hardware you need to add a dummy ...
- Sunday 23 April 2017 7:45
- Forum: ESP8266
- Topic: MQTT Switch - Acknowledge?
- Replies: 18
- Views: 8308
Re: MQTT Switch - Acknowledge?
How about making a device lua script that triggers when you press the switch in domoticz. Then update the code on your mqqt switch to publish on a topic the lua script waits for. then make the lua script reset the switch in domoticz if no mqqt message is received with the topic in 10 seconds after ...
- Thursday 23 April 2015 8:08
- Forum: Others
- Topic: WS1700 cheap temp sensor
- Replies: 43
- Views: 23898
Re: WS1700 cheap temp sensor
I picked up one of these units at the blokker (the one that DJSmiley linked). However I dont see it when i look at the device's. I am using a RFXtrx433E with firmware 239 and i got it plugged into my raspberry pi using usb. Are there any more action i should do to get it recognised ? When I set the ...