Search found 48 matches

by Ankan
Saturday 18 January 2020 17:23
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

When I ask Google for temperature I get the current temperature but also information that the device is inactive and that it cannot be reached and that I may need to configure it again. I understand why it say it is inactive. That is because I have not added that homekit:TargetHeatingCoolingMode ...
by Ankan
Saturday 18 January 2020 15:50
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

Okey, now it's done and this is how I did it. I started by following Gravityz instructions that I got by mail but with some modifications. Everything is done in PaperUI when nothing else is specified 1. Add MQTT 2.x binding under Add-ons 2. Create a MQTT broker thing 2a. Add new Thing with the ...
by Ankan
Monday 13 January 2020 23:11
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

I think I got it working but I have to test and verify before I write it down here.
by Ankan
Sunday 12 January 2020 23:15
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

@Gravityz I have start my migration from MQTT 1.4 to 2.5 with help from your guide. How do you transformate switches so you can both control them and get values from Domoticz? I added that MQTT Binding, MQTT Broker and General MQTT Thing as in your guide. But then I guess I have to add a Switch ...
by Ankan
Tuesday 10 December 2019 23:16
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Great!

By the way, I think you should change udp port to what the user enter in the configuration and not hardcode it.
by Ankan
Saturday 07 December 2019 11:04
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Hi, I think I have something for you. The code now listen to UDP Sync port and update devices from it. I think it need some more testing but it's a good start. Enjoy! # WLED Plugin for Domoticz # # Author: Frustreermeneer # """ <plugin key="WLED2" name="WLED2" author="frustreermeneer" version="0.0.1 ...
by Ankan
Thursday 05 December 2019 13:03
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

by Ankan
Tuesday 03 December 2019 22:05
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Hi there. I found one more little bug you maybe could check up. When turning on, off or dimming "WLED - Color & Brightness" in Domoticz, very often there are two lines in the device log. If turning off the device I sometimes get: 2019-12-03 21:52:50 On 2019-12-03 21:52:47 Off When turning on or ...
by Ankan
Monday 02 December 2019 21:57
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

If you have to update every 10s you have to change the script to not update the domoticz device every time if there is no change. Else I guess you will have problems with events that trigger on wled device change. I have updated the plugin to update Domoticz only when something changes. Hope it ...
by Ankan
Monday 02 December 2019 20:41
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Hi, Yes, this log is from my system today after updating to latest version of your plugin. My device log stop adding On command every 10s after comment out onHeartbeat so the problem is there. If you have to update every 10s you have to change the script to not update the domoticz device every time ...
by Ankan
Monday 02 December 2019 19:56
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

I got stability problems with my system after installing your plugin. Maybe it's because it connect to the WLED on every heartbeat. You can see the problem in the log for the device. I have only enabled "Color & Brightness". My log looks like this without doing anything: 2019-12-02 19:44:27 On 2019 ...
by Ankan
Thursday 28 November 2019 21:07
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

Upload it somewhere else and put a link here would work.
by Ankan
Wednesday 27 November 2019 23:29
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

If you don't set the color you should not send that argument to Devices[Unit].Update() So you have to change the code little bit more. Maybe check if color is set and then call Update with or without color argument. Else maybe you could overload the UpdateDevice function. One with 3 arguments and ...
by Ankan
Wednesday 27 November 2019 22:17
Forum: Speech & Voice Systems
Topic: Moving to OpenHAB to get Google Home support for free?
Replies: 63
Views: 19158

Re: Moving to OpenHAB to get Google Home support for free?

Gravityz, it would be great if you could manage to put your documentation here. Maybe just copy and paste? Else upload it to a server that you link from here. I would love to read your documentation also, but instead of asking for it by PM with my email address I think it's better if its possible to ...
by Ankan
Wednesday 27 November 2019 22:13
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Instead of changing row 237 I changed the calling rows instead: Row 145: From: UpdateDevice(3,1,self.Level,self.Color) To: UpdateDevice(3,1,self.Level) Row 157: From: UpdateDevice(3,1,self.Level,self.Color) To: UpdateDevice(3,1,self.Level) Row 161: From: UpdateDevice(3,0,self.Level,self.Color) To ...
by Ankan
Wednesday 27 November 2019 22:01
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Maye the true ploblem is this:
The Color parameter is valid if Command is "Set Color" and is a JSON serialized Domoticz color object.
Quoted from https://www.domoticz.com/wiki/Developin ... hon_plugin
by Ankan
Wednesday 27 November 2019 21:50
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

I have found the problem and fixed it by converting Color to string.

Row 237:
Changed from: Devices[Unit].Update(nValue=nValue, sValue=str(sValue), Color=Color)
Changed to: Devices[Unit].Update(nValue=nValue, sValue=str(sValue), Color=str(Color))
by Ankan
Wednesday 27 November 2019 0:04
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

My blocky script is very simple and it looks like this.. If Button = On Set WLED = On Else if Button = Off Set WLED = Off From time to time I get two other errors also Transport is not connected, write directive to 'getWLEDStatusConn' ignored. No transport, write directive to 'getWLEDStatusConn ...
by Ankan
Tuesday 26 November 2019 23:19
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

By the way, I'am running Domoticz 4.10717
by Ankan
Monday 25 November 2019 23:11
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 18338

Re: Python Plugin: WLED

Hi, I try to control my WLED with a Nexa 433 Mhz wall switch. I made a Blocky event handler that turn on WLED - Color & Brightness when I press ON and tour off same WLED when I press OFF on my wall switch. This works but I get this error: 2019-11-25 22:52:28.240 Error: (CDevice_update) WLED - Color ...