Python Plugin: WLED

Python and python framework

Moderator: leecollings

vwtune
Posts: 19
Joined: Wednesday 24 January 2018 9:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: Python Plugin: WLED

Post by vwtune »

Where is the support here? :roll: ;)
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

vwtune wrote: Monday 25 May 2020 22:40 Where is the support here? :roll: ;)
I have little time at the moment. I haven't tried the new WLED myself yet. As soon as i have more time for the project i will look into it.
Have you tried going back to an older version of WLED, if that solves the problem?
antonlamers
Posts: 14
Joined: Wednesday 08 March 2017 14:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: NL
Contact:

Re: Python Plugin: WLED

Post by antonlamers »

Hi reinstalled domoticz and restore the database, now I have an error by WLED. I add the pIugin but i don't see WLED by the hardware page. I did remove the directory WLED and reinstal WLED, but I don’t see WLED by the hardware. How must I remove WLED in domoticz and reinstalled it?

Anton
Greating,
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
User avatar
wizardnl
Posts: 10
Joined: Wednesday 11 January 2017 1:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by wizardnl »

First of all thank you for the effort works great in the new wled version you have the segment option any change this could be included? Need it for a nice project ;)

Again thanks for the effort
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

antonlamers wrote: Tuesday 02 June 2020 20:50 Hi reinstalled domoticz and restore the database, now I have an error by WLED. I add the pIugin but i don't see WLED by the hardware page. I did remove the directory WLED and reinstal WLED, but I don’t see WLED by the hardware. How must I remove WLED in domoticz and reinstalled it?

Anton
Did you get it working?
Ironburn
Posts: 2
Joined: Saturday 10 October 2020 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by Ironburn »

salopette wrote: Saturday 29 February 2020 9:13 Hi. I have been told that the switch remains on even though the lamp has been switched off.
Can you fix that?

2020-02-29 09:12:43.088 Status: User: Admin initiated a switch command (6473/LED - Color & Brightness/Off)
Same problem here. Any solution?
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

Ironburn wrote: Saturday 10 October 2020 14:49
salopette wrote: Saturday 29 February 2020 9:13 Hi. I have been told that the switch remains on even though the lamp has been switched off.
Can you fix that?

2020-02-29 09:12:43.088 Status: User: Admin initiated a switch command (6473/LED - Color & Brightness/Off)
Same problem here. Any solution?
Check out the new version, i have fixed the On/Off statuses.
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

Re: Python Plugin: WLED

Post by salopette »

Thank you! It works!
Ironburn
Posts: 2
Joined: Saturday 10 October 2020 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by Ironburn »

Thx
antonlamers
Posts: 14
Joined: Wednesday 08 March 2017 14:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: NL
Contact:

Re: Python Plugin: WLED

Post by antonlamers »

frustreerMeneer wrote: Friday 25 September 2020 13:26
antonlamers wrote: Tuesday 02 June 2020 20:50 Hi reinstalled domoticz and restore the database, now I have an error by WLED. I add the pIugin but i don't see WLED by the hardware page. I did remove the directory WLED and reinstal WLED, but I don’t see WLED by the hardware. How must I remove WLED in domoticz and reinstalled it?

Anton
Did you get it working?
No.
my SD had an error, i fixed it now, but when i reinstal wled, i don't see it.
I can i first remove it en install it again?
I did remove the directory, but that doesn't work
Greating,
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

antonlamers wrote: Friday 16 October 2020 16:36 I can i first remove it en install it again?
I did remove the directory, but that doesn't work
Remove it from Domoticz hardware, then restart.
If the directory is still there, remove it and restart.
Then try reinstalling.
Make sure you have the WLED directory in domoticz/plugins.
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

wizardnl wrote: Sunday 26 July 2020 10:54 First of all thank you for the effort works great in the new wled version you have the segment option any change this could be included? Need it for a nice project ;)

Again thanks for the effort
I'm working on segments now. I will release it soon ;)
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

Re: Python Plugin: WLED

Post by salopette »

That's cool! What exactly is being done?
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

salopette wrote: Sunday 18 October 2020 20:45 That's cool! What exactly is being done?
I'm still working things out. But as soon as you have more than 1 segment you will get a master color and brigtness slider (the one that you already have) and 1 color and brightness slider per extra segment. I think it is the same way Home Assistant does it.

I still have to look into effects, presets and palletes.

Let me know your ideas.
Attachments
Clipboard01.jpg
Clipboard01.jpg (52.73 KiB) Viewed 2066 times
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

Re: Python Plugin: WLED

Post by salopette »

I was only curious! This is very good the way they do it!
I don't have a single pigment myself, I don't know how to use it.
vwtune
Posts: 19
Joined: Wednesday 24 January 2018 9:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: Python Plugin: WLED

Post by vwtune »

Since i updated to version 2020.2 of Domoticz

Domoticz is crashing almost once a day. Before it crashes, i can see in the log:

Code: Select all

2020-10-30 17:41:15.764 Error: (WLED Hal Nodemcu ) Exception detail: 'Unterminated string starting at: line 5 column 49 (char 1236)'
2020-10-30 17:41:15.764 Error: (WLED Hal Nodemcu ) 'onMessage' failed 'ValueError'.
2020-10-30 17:41:15.764 Error: Domoticz(pid:771, tid:775('PluginMgr')) received fatal signal 11 (Segmentation fault)
2020-10-30 17:41:15.764 Error: siginfo address=0x303, address=(nil)
After this, domoticz crashed
It has something to do with wled plugin i think....
I already did a git pull and restart to get the latest wled plugin, but still get the crashes on WLED.

Can you please take a look at this?
Dave21w
Posts: 361
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: Python Plugin: WLED

Post by Dave21w »

Does anyone know why this doesn't work
Ping Pong Lamp.jpg
Ping Pong Lamp.jpg (35.62 KiB) Viewed 1899 times
The lamp switches on and off ok and all set percentages get written ok but it completely ignores the Set WLED - Effects value so I can't have a preset pattern at power on, I've tried altering the Set order and delaying it but it makes no difference, also tried the value in a txt box with the pattern no. and name but no response, changing the pattern in Domoticz directly on the switch page works fine.

Any ideas guys.

TIA
Dave
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

Dave21w wrote: Monday 07 December 2020 22:06 Does anyone know why this doesn't work

Ping Pong Lamp.jpg

The lamp switches on and off ok and all set percentages get written ok but it completely ignores the Set WLED - Effects value so I can't have a preset pattern at power on, I've tried altering the Set order and delaying it but it makes no difference, also tried the value in a txt box with the pattern no. and name but no response, changing the pattern in Domoticz directly on the switch page works fine.

Any ideas guys.

TIA
Dave
WLED - Effects is also a level setting. In this case 50%.
It seems a bit strange but that is how Domoticz selects work.
Dave21w
Posts: 361
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: Python Plugin: WLED

Post by Dave21w »

Ah OK, but then this means I can't go above pattern 100 (%)

Thanks for your really quick response
frustreerMeneer
Posts: 39
Joined: Tuesday 21 March 2017 11:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by frustreerMeneer »

Dave21w wrote: Monday 07 December 2020 22:32 Ah OK, but then this means I can't go above pattern 100 (%)
I think you actually can go higher as it's not really a percentage.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest