Page 4 of 5

Re: Python Plugin: WLED

Posted: Monday 25 May 2020 22:40
by vwtune
Where is the support here? :roll: ;)

Re: Python Plugin: WLED

Posted: Tuesday 26 May 2020 9:12
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?

Re: Python Plugin: WLED

Posted: Tuesday 02 June 2020 20:50
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

Re: Python Plugin: WLED

Posted: Sunday 26 July 2020 10:54
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

Re: Python Plugin: WLED

Posted: Friday 25 September 2020 13:26
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?

Re: Python Plugin: WLED

Posted: Saturday 10 October 2020 14:49
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?

Re: Python Plugin: WLED

Posted: Monday 12 October 2020 21:45
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.

Re: Python Plugin: WLED

Posted: Monday 12 October 2020 21:50
by salopette
Thank you! It works!

Re: Python Plugin: WLED

Posted: Wednesday 14 October 2020 13:08
by Ironburn
Thx

Re: Python Plugin: WLED

Posted: Friday 16 October 2020 16:36
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

Re: Python Plugin: WLED

Posted: Friday 16 October 2020 17:20
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.

Re: Python Plugin: WLED

Posted: Sunday 18 October 2020 20:26
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 ;)

Re: Python Plugin: WLED

Posted: Sunday 18 October 2020 20:45
by salopette
That's cool! What exactly is being done?

Re: Python Plugin: WLED

Posted: Sunday 18 October 2020 20:53
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.

Re: Python Plugin: WLED

Posted: Sunday 18 October 2020 21:01
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.

Re: Python Plugin: WLED

Posted: Friday 30 October 2020 17:47
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?

Re: Python Plugin: WLED

Posted: Monday 07 December 2020 22:06
by Dave21w
Does anyone know why this doesn't work
Ping Pong Lamp.jpg
Ping Pong Lamp.jpg (35.62 KiB) Viewed 2193 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

Re: Python Plugin: WLED

Posted: Monday 07 December 2020 22:13
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.

Re: Python Plugin: WLED

Posted: Monday 07 December 2020 22:32
by Dave21w
Ah OK, but then this means I can't go above pattern 100 (%)

Thanks for your really quick response

Re: Python Plugin: WLED

Posted: Monday 07 December 2020 22:50
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.