Search found 45 matches
- Friday 06 April 2018 17:42
- Forum: Zigbee
- Topic: Xiaomi Gateway FM
- Replies: 0
- Views: 3214
Xiaomi Gateway FM
Xiaomi Gateway FM in Domoticz . Playing your channels from MiHome app favorites, obtaining (updating) the status. Install php-miio sudo apt update sudo apt upgrade sudo apt install php7.0 git clone https://github.com/skysilver-lab/php-miio.git php-miio Get the gateway token and IP: cd /home/pi/php ...
- Tuesday 13 February 2018 17:40
- Forum: Blockly
- Topic: Xiaomi Gateway - Setting light color
- Replies: 13
- Views: 7773
Re: Xiaomi Gateway - Setting light color
If interesting, You can try. You must create two Dummy Switch, type - Dimmer: miGateway Hue and miGateway Bri In the script , enter your username, password, ip and port domoticz. 111.png dzVents 2.4.x return { on = { devices = { 'miGateway Hue', 'miGateway Bri' } }, logging = { level = domoticz.LOG ...
- Saturday 27 January 2018 10:44
- Forum: iOS
- Topic: Pilot: Home Automation Control (iOS app)
- Replies: 1000
- Views: 233994
Re: Pilot: Home Automation Control (iOS app)
Favorites work in 2302 
- Wednesday 10 January 2018 12:41
- Forum: LUA
- Topic: Yeelight and Hue lights - use same settings
- Replies: 19
- Views: 7048
- Wednesday 10 January 2018 9:55
- Forum: LUA
- Topic: Yeelight and Hue lights - use same settings
- Replies: 19
- Views: 7048
Re: Yeelight and Hue lights - use same settings
Code: Select all
local Lights = {'name1', 'name2', 'name3'}
for n, name in pairs(Lights) do
domoticz.devices(name).switchOn()
end
- Wednesday 10 January 2018 9:19
- Forum: LUA
- Topic: Yeelight and Hue lights - use same settings
- Replies: 19
- Views: 7048
Re: Yeelight and Hue lights - use same settings
local Light = domoticz.devices('Name_of_your_lamp_from_the_device_tab')
- Wednesday 27 December 2017 9:08
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
- Sunday 03 December 2017 11:35
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
The last two characters are the same
Code: Select all
01586B 9E
597BFF 9E
- Sunday 03 December 2017 11:23
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Now I'd like to use the right names for the battery statuses, how can I see which device it belongs to? 3453 Xiaomi GW 01586B9E 1 Voordeur (X) Light/Switch 4594 Xiaomi GW 597BFF9E 1 Xiaomi Voltage General Voltage 3534 Xiaomi GW 011C43D3 1 Dakraam slaapkamer (X) 4598 Xiaomi GW 1D5FD3D3 1 Xiaomi ...
- Saturday 11 November 2017 0:29
- Forum: LUA
- Topic: Yeelight and Hue lights - use same settings
- Replies: 19
- Views: 7048
Re: Yeelight and Hue lights - use same settings
Thank you, script works. But... everything is really slow, any change takes long time to complete and in Domoticz logs i see: 2017-11-01 17:55:58.435 Error: EventSystem: Warning!, lua script Yeelight-Scene has been running for more than 10 seconds Updated the script to dzVents 2.3.0. Only for ...
- Wednesday 01 November 2017 9:35
- Forum: LUA
- Topic: Yeelight and Hue lights - use same settings
- Replies: 19
- Views: 7048
- Sunday 03 September 2017 2:00
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Or perhaps a disco script ? runcommand = "sudo echo -ne '{\"id\":1, \"method\":\"start_cf\", \"params\":[\"cf\", 500, 0, \"50, 2, 5000, 100, 50, 2, 5000, 1\"]}\\r\\n' | nc -w1 " ..IP.." " ..PORT.."" Or other scripts..... for nice yeelight options..? Police Mode runcommand = "sudo echo -ne '{\"id ...
- Saturday 02 September 2017 9:52
- Forum: iOS
- Topic: Domoticz App
- Replies: 505
- Views: 124458
Re: Domoticz App
Congrats with the release in App Store
Great Job!
Dark theme
In the Russian translation contains inaccuracies
Can you add the choice of application language?
Thanks
Great Job!
Dark theme
In the Russian translation contains inaccuracies
Can you add the choice of application language?
Thanks
- Tuesday 29 August 2017 8:10
- Forum: Python
- Topic: Python plugin: Sony Bravia TV
- Replies: 205
- Views: 46576
Re: Python plugin: Sony Bravia TV
v1.2 works fine with KDL-60W605B
Thanks.
Thanks.
- Thursday 24 August 2017 11:43
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
- Wednesday 23 August 2017 22:44
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 525719
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
So I installed some Xiaomi stuff, like the gateway, a switch button and some other devices, all are working pretty good. My question is now how can i control the coloring of the gateway light in my script I have tried a couple of things. I want to change color on specific occassions. Any ...
- Sunday 06 August 2017 15:07
- Forum: dzVents
- Topic: first steps
- Replies: 13
- Views: 2234
Re: first steps
I don't agree. Your if is executed for all lamps in your array. There is no need to evaluate the rule inside your loop as the result is the same for every loop iteration. That's why you can remove it from the loop and do it before the loop. If it evaluates to false there is no need for your loop in ...
- Sunday 06 August 2017 14:37
- Forum: dzVents
- Topic: first steps
- Replies: 13
- Views: 2234
Re: first steps
Well, in your case you want to loop over your array of lamp names and that is just a standard lua table/array so you loop is perfectly suited for that. dzVents forEach is if want to loop over all devices or over a set of filtered devices (or over any of the dzVents collections). But in your ...
- Sunday 06 August 2017 13:21
- Forum: dzVents
- Topic: first steps
- Replies: 13
- Views: 2234
Re: first steps
Not yet, unfortunately. Can you show in my script example?dannybloe wrote:The documentation should give you examples in how to use the forEach() function. Isn't that helping you?
Thanks
- Sunday 06 August 2017 10:24
- Forum: dzVents
- Topic: first steps
- Replies: 13
- Views: 2234
Re: first steps
Hi. I'm newby in dzVents too. How can I use domoticz.devices().forEach(function() .. end) instead of for n, Lamp in pairs(Lamps) do .. end in my script? return { active = true, on = { devices = { 'PIR' } }, logging = { level = domoticz.LOG_ERROR }, execute = function(domoticz, switch) local Lamps ...