Search found 29 matches

by morilm
Sunday 27 May 2018 9:58
Forum: Switches and Scenes
Topic: Heed help with RGB
Replies: 1
Views: 319

Re: Heed help with RGB

Hi... Since a few weeks there has been changes on the RGB and now it's possible to read the color values using JSON. See example bellow how to get values for RGB colors json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")() local acolor = " " ab='curl "http://192.168.1.101:8080/json.htm?type ....
by morilm
Thursday 24 May 2018 20:29
Forum: Suggestions
Topic: JSON API: access by name instead of IDX
Replies: 6
Views: 419

Re: JSON API: access by name instead of IDX

why don't you use the

d_name = "device name"
d_idx = otherdevices_idx[d_name]

this way you can get always the corresponding IDX for a device and use it not only on JSON but on all scripts.
by morilm
Tuesday 15 May 2018 19:24
Forum: Other questions and discussions
Topic: Virtual RGB switch
Replies: 3
Views: 802

Re: Virtual RGB switch

Dear all There has been changes on domoticz and now the RGB color are being posted into Json, so its possible to query json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")() local acolor = " " ab='curl "http://192.168.1.101:8080/json.htm?type=devices&rid='..led_idx..'"' local jsondata = assert...
by morilm
Tuesday 15 May 2018 19:18
Forum: Switches and Scenes
Topic: Custom RGB Light Plugin
Replies: 5
Views: 1305

Re: Custom RGB Light Plugin

Dear all There has been changes on domoticz and now the RGB color are being posted into Json, so its possible to query json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")() local acolor = " " ab='curl "http://192.168.1.101:8080/json.htm?type=devices&rid='..led_idx..'"' local jsondata = assert...
by morilm
Sunday 08 October 2017 11:57
Forum: Bugs and Problems
Topic: Unable to edit switches
Replies: 11
Views: 1427

Re: Unable to edit switches

I can confirm the issue on my Domoticz as well. Seems to be an issue with virtual dimmer switches. To create it I have used the manual switch as "selector switch". Once you change the settings to "dimmer" you can never edit it again. Swith/dimmer works fine, but can't be edit. It's not an issue of c...
by morilm
Thursday 05 October 2017 21:54
Forum: RFLink Transceiver
Topic: RFLink R47 available
Replies: 12
Views: 2449

Re: RFLink R47 available

My pleasure!!!!
by morilm
Sunday 24 September 2017 20:27
Forum: iOS
Topic: homebridge-edomoticz Plugin
Replies: 1538
Views: 211546

Re: homebridge-edomoticz Plugin

@marcotini on the home app you can select with type is a switch (light, switch, fan).
by morilm
Friday 22 September 2017 12:14
Forum: ESP8266
Topic: Esp8266 + Nextion remote for Domoticz
Replies: 22
Views: 3915

Re: Esp8266 + Nextion remote for Domoticz

very interesting

Could you please share information about the box and the electronics used? (Bateries, charger)..

It's really a good thing to have at home for visitors or kids :D :D :D
by morilm
Friday 22 September 2017 12:06
Forum: RFLink Transceiver
Topic: RFLink R47 available
Replies: 12
Views: 2449

Re: RFLink R47 available

Hi Yes.. I didn't show it... seems to be 1 per minute or about it.. 2017-09-22 11:45:04.627 (RFlink) Temp (Temp Rflink) 2017-09-22 11:45:41.672 RFLink: 20;18;PONG; 2017-09-22 11:46:31.694 RFLink: 20;19;PONG; 2017-09-22 11:47:21.715 RFLink: 20;1A;PONG; 2017-09-22 11:48:11.737 RFLink: 20;1B;PONG; 2017...
by morilm
Friday 22 September 2017 11:59
Forum: Temperature and Weather
Topic: Random peaks in DHT11 sensor
Replies: 2
Views: 1102

Re: Random peaks in DHT11 sensor

I have the same issue... so it's not your setup...

I have read somewhere else that the DH11 is a cheap so no good sensor.

I think the only solution could be to make several reads, calculate the right value (removing this peaks) and then send the data to domoticz
by morilm
Wednesday 20 September 2017 22:27
Forum: RFLink Transceiver
Topic: RFLink R47 available
Replies: 12
Views: 2449

Re: RFLink R47 available

Just got it update directly from the raspberry by using avrude sudo apt-get install avrdude copy hex file go to domotic, hardware and disable the rflink (disable, not delete) avrdude -v -p atmega2560 -c stk500 -P /dev/ttyACM0 -b 115200 -D -U flash:w:/home/pi/rflink/RFLink.cpp.hex:i re-enable the rfl...
by morilm
Wednesday 20 September 2017 22:00
Forum: iOS
Topic: version and update Homebridge on RPI 3
Replies: 3
Views: 1483

Re: version and update Homebridge on RPI 3

look at https://github.com/nfarina/homebridge The way to update will depend on the way you installed it. If you installed using npm, just need to sudo npm update homebrigde -g (sudo and -g only if you ise pi and installed the package globally) you can check what packages you installed by npm using s...
by morilm
Wednesday 20 September 2017 21:17
Forum: iOS
Topic: homebridge-edomoticz Plugin
Replies: 1538
Views: 211546

Re: homebridge-edomoticz Plugin

It will be nice also to have the other ones missing. Humdifiers and air purifiers along with Faucets & Sprinklers
by morilm
Wednesday 13 September 2017 20:59
Forum: Bugs and Problems
Topic: Virtual RGBW dimmer
Replies: 21
Views: 8372

Re: Virtual RGBW dimmer

I have created an issue on the domoticz git

https://github.com/domoticz/domoticz/issues/1808

Let's see if the team can find an easy way to pass this values to LUA or Json

regards,
Miguel
by morilm
Saturday 09 September 2017 9:40
Forum: Other questions and discussions
Topic: Virtual RGB switch
Replies: 3
Views: 802

Re: Virtual RGB switch

I'm working on the same. /json.htm?type=command¶m=setcolbrightnessvalue&idx=xx&hue=274&brightness=40&iswhite=false /json.htm?type=command¶m=setcolbrightnessvalue&idx=xx&hue=128&brightness=42&iswhite=false&sat=2 /json.htm?type=command¶m=setcolbrightnessvalue&idx=xx&hex=RRGGBB seems to be ...
by morilm
Thursday 07 September 2017 17:01
Forum: LUA
Topic: Blinds percentage value Update
Replies: 1
Views: 753

Re: Blinds percentage value Update

You should try the "update device": commandArray = {['UpdateDevice'] = otherdevices_idx[ device_name ]..'|0|0'} first 0 is the nvalue, 0 = off, 1 = on Second 0 is the svalue. Some switches use it for different values, like blind % This way the corresponding event of the device will not be triggered ...
by morilm
Monday 28 August 2017 20:13
Forum: iOS
Topic: Domoticz App
Replies: 400
Views: 50037

Re: Domoticz App

good good good!!!!!

Can't join the beta on time, so willing to start testing it!!!!
by morilm
Thursday 17 August 2017 11:33
Forum: Other questions and discussions
Topic: Magic Home RGB WiFi controller integration
Replies: 21
Views: 10021

Re: Magic Home RGB WiFi controller integration

Just found another possible way... Convert the flux_led pyton script into a Domoticz plugin: http://www.domoticz.com/wiki/Developing_a_Python_plugin Seems it can be done with some work. Only the initial definitions so Domoticz will understand it and then for the basic on/off, color and dimmer should...
by morilm
Wednesday 16 August 2017 10:11
Forum: Other questions and discussions
Topic: Magic Home RGB WiFi controller integration
Replies: 21
Views: 10021

Re: Magic Home RGB WiFi controller integration

As stated previously, some king of limited support can be obtained by using the Arilux AL-LC0x hardware and then adding each light with the corresponding IP (on the HW section) and after adding the device (two steps required for each light) Color change works but no the dimmer part. In the other han...
by morilm
Friday 30 June 2017 20:15
Forum: iOS
Topic: Domoticz App
Replies: 400
Views: 50037

Re: Domoticz App

Sorry for asking, but it's possible to be included on the beta test?

Thanks!!!

Miguel