Python Plugin: WLED

Python and python framework

Moderator: leecollings

andreasg
Posts: 1
Joined: Monday 21 May 2018 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: WLED

Post by andreasg »

Hello
I have the latest update.
From time to time, domoticz displays an error:

Error: (Wled) Transport is not connected, write directive to 'JSONConn' ignored.
or
Error: (Wled) No transport, write directive to 'JSONConn' ignored.

Do I have something wrongly set up?
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 »

andreasg wrote: Wednesday 11 December 2019 18:21 Error: (Wled) Transport is not connected, write directive to 'JSONConn' ignored.
or
Error: (Wled) No transport, write directive to 'JSONConn' ignored.

Do I have something wrongly set up?
Probably not, i think it just happens sometimes.
Apparently WLED doesn't respond to the http request in time.
Will try to find out what the cause is.
timmchugh
Posts: 5
Joined: Sunday 02 December 2018 21:26
Target OS: Linux
Domoticz version: 2020.1
Contact:

Re: Python Plugin: WLED

Post by timmchugh »

A feature request if I may, add the option for 4 channel LED's WRGB.

Love what you've done tho, seems you have forced me to update all the WLED controllers now :D
timmchugh
Posts: 5
Joined: Sunday 02 December 2018 21:26
Target OS: Linux
Domoticz version: 2020.1
Contact:

Re: Python Plugin: WLED

Post by timmchugh »

I managed to get it to work, I changed line 86 + 220

Code: Select all

Domoticz.Device(Name="Color & Brightness", Unit=3, Type=241,Subtype=1,Switchtype=7,Options=Options).Create()

Code: Select all

doWLEDRequest( "/win&FX=0&A="+str(int(self.Level*2.55))+"&R="+str(parsedColor["r"])+"&G="+str(parsedColor["g"])+"&B="+str(parsedColor["b"])+"&W="+str(parsedColor["ww"] ) )

Thanks again :D
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 »

I have more than one Wemos with WLED installed, in Domoticz i use our plugin.
2 Wemos on UDP port 3124
1 Wemos on UPD port 23124

When i change an effect of one of the wemos which is on UDP port 3124, i get the error:

Code: Select all

 Error: Plugin: UDP Listen Exception: 'bind: Address already in use' connecting to 'ipaddress:1324'
Why i get this error and how to solve it?

Also i get the following errors from now and then. Don't know why, but i don't think it is normal?

Code: Select all

2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) Exception detail: 'Unterminated string starting at: line 5 column 77 (char 1240)'
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) 'onMessage' failed 'ValueError'.
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
2020-01-27 19:27:54.703 Error: CConnection_disconnect, disconnection request from 'WLED Wemos Kerst' ignored. Transport is not connecting or connected.
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) Exception detail: 'Unterminated string starting at: line 5 column 77 (char 1240)'
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) 'onMessage' failed 'ValueError'.
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
2020-01-27 19:32:54.383 Error: (WLED Wemos Kerst) Transport is not connected, write directive to 'JSONConn' ignored.
2020-01-27 20:15:27.426 Error: CConnection_disconnect, disconnection request from 'WLED Test' ignored. Transport is not connecting or connected.
2020-01-27 20:15:27.428 Error: (WLED Test) Exception detail: 'Expecting ',' delimiter: line 5 column 92 (char 1249)'
2020-01-27 20:15:27.428 Error: (WLED Test) 'onMessage' failed 'ValueError'.
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
kurczak2
Posts: 3
Joined: Monday 01 October 2018 15:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Python Plugin: WLED

Post by kurczak2 »

After the last update I get these messages:

2020-02-04 10:43:59.237 Error: (WLED) 'onHeartbeat' failed 'NameError':'name 'updateInterval' is not defined'.
2020-02-04 10:43:59.237 Error: (WLED) ----> Line 285 in '/home/pi/domoticz/plugins/wled/plugin.py', function onHeartbeat
2020-02-04 10:43:59.238 Error: (WLED) ----> Line 256 in '/home/pi/domoticz/plugins/wled/plugin.py', function onHeartbeat

Can someone give me advice on how to fix this? Thank you in advance.
WIFI: Sonoff, ESPEasy, Tasmota, Xiaomi Gateway, Shelly, Tuya, magic home
Sensors: temp, humi, baro, CO2, PM10, PM2,5, lux, power, energy, voltage, current
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: Tuesday 28 January 2020 22:34 I have more than one Wemos with WLED installed, in Domoticz i use our plugin.
2 Wemos on UDP port 3124
1 Wemos on UPD port 23124

When i change an effect of one of the wemos which is on UDP port 3124, i get the error:

Code: Select all

 Error: Plugin: UDP Listen Exception: 'bind: Address already in use' connecting to 'ipaddress:1324'
Why i get this error and how to solve it?
The plugin can't handle 2 installations yet.
It connects to the UDP port of WLED but when running more than on instance it will try to do it twice and that doesn't work.

Will try to think of a solution ;)
Last edited by frustreerMeneer on Tuesday 04 February 2020 13:53, edited 1 time in total.
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 »

kurczak2 wrote: Tuesday 04 February 2020 10:54 After the last update I get these messages:

2020-02-04 10:43:59.237 Error: (WLED) 'onHeartbeat' failed 'NameError':'name 'updateInterval' is not defined'.
2020-02-04 10:43:59.237 Error: (WLED) ----> Line 285 in '/home/pi/domoticz/plugins/wled/plugin.py', function onHeartbeat
2020-02-04 10:43:59.238 Error: (WLED) ----> Line 256 in '/home/pi/domoticz/plugins/wled/plugin.py', function onHeartbeat

Can someone give me advice on how to fix this? Thank you in advance.
UpdateInterval is one of the settings of the plugin.

Go to Setup - Hardware - Click WLED and enter 30 at FX and palettes update interval. This will set the update interval for effects and palettes to 5 minutes.

If that doesn't work try reinstalling the plugin and rebooting.
kurczak2
Posts: 3
Joined: Monday 01 October 2018 15:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Python Plugin: WLED

Post by kurczak2 »

Thanks for the help. I checked the settings again and on the Setup - Hardware - WLED page there was nothing entered in the Debug field (it was empty). After selecting "None" the problem disappeared.
WIFI: Sonoff, ESPEasy, Tasmota, Xiaomi Gateway, Shelly, Tuya, magic home
Sensors: temp, humi, baro, CO2, PM10, PM2,5, lux, power, energy, voltage, current
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 »

What about all the error messages i got?

Code: Select all

2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) Exception detail: 'Unterminated string starting at: line 5 column 77 (char 1240)'
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) 'onMessage' failed 'ValueError'.
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 19:17:54.439 Error: (WLED Wemos Kerst) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
2020-01-27 19:27:54.703 Error: CConnection_disconnect, disconnection request from 'WLED Wemos Kerst' ignored. Transport is not connecting or connected.
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) Exception detail: 'Unterminated string starting at: line 5 column 77 (char 1240)'
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) 'onMessage' failed 'ValueError'.
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 19:27:54.704 Error: (WLED Wemos Kerst) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
2020-01-27 19:32:54.383 Error: (WLED Wemos Kerst) Transport is not connected, write directive to 'JSONConn' ignored.
2020-01-27 20:15:27.426 Error: CConnection_disconnect, disconnection request from 'WLED Test' ignored. Transport is not connecting or connected.
2020-01-27 20:15:27.428 Error: (WLED Test) Exception detail: 'Expecting ',' delimiter: line 5 column 92 (char 1249)'
2020-01-27 20:15:27.428 Error: (WLED Test) 'onMessage' failed 'ValueError'.
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-01-27 20:15:27.428 Error: (WLED Test) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode
How can i solve this?
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: Thursday 06 February 2020 20:52 What about all the error messages i got?

How can i solve this?
Not quite sure what is causing that error. It seems the json.loads function doesn't get the right data.
Do you have this everytime? Every 10 minutes?

Can you give me the output of the following URL?
http://<YOUR_WLED_IP>/json

You can try to replace the following line:

Code: Select all

                    jsonArray = json.loads( str(strData) )
by:

Code: Select all

                    if( len( strData ) ):
                        jsonArray = json.loads( str(strData) )
Make sure the number of spaces in front of the lines is OK.

This checks if there is json data before parsing 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 »

frustreerMeneer wrote: Friday 07 February 2020 14:59
vwtune wrote: Thursday 06 February 2020 20:52 What about all the error messages i got?

How can i solve this?
Not quite sure what is causing that error. It seems the json.loads function doesn't get the right data.
Do you have this everytime? Every 10 minutes?

Can you give me the output of the following URL?
http://<YOUR_WLED_IP>/json

You can try to replace the following line:

Code: Select all

                    jsonArray = json.loads( str(strData) )
by:

Code: Select all

                    if( len( strData ) ):
                        jsonArray = json.loads( str(strData) )
Make sure the number of spaces in front of the lines is OK.

This checks if there is json data before parsing it.
output of the url:

Code: Select all

{"state":{"on":true,"bri":153,"transition":7,"ps":-1,"pss":3,"pl":-1,"ccnf":{"min":1,"max":5,"time":12},"nl":{"on":false,"dur":60,"fade":true,"tbri":0},"udpn":{"send":true,"recv":true},"mainseg":0,"seg":[{"id":0,"start":0,"stop":136,"len":136,"grp":1,"spc":0,"col":[[255,199,81],[0,0,0],[0,0,0]],"fx":97,"sx":102,"ix":102,"pal":16,"sel":true,"rev":false}]},"info":{"ver":"0.9.0-b2","vid":2001191,"leds":{"count":136,"rgbw":false,"wv":false,"pin":[2],"pwr":0,"maxpwr":0,"maxseg":10,"seglock":false},"str":false,"name":"WLED Hal","udpport":1324,"live":false,"fxcount":99,"palcount":51,"wifi":{"bssid":"62:D4:F7:09:8F:F3","rssi":-57,"signal":86,"channel":8},"arch":"esp8266","core":"2_6_2","lwip":1,"freeheap":14424,"uptime":409398,"opt":119,"brand":"WLED","product":"DIY light","btype":"src","mac":"ecfabc633da4"},"effects":[
"Solid","Blink","Breathe","Wipe","Wipe Random","Random Colors","Sweep","Dynamic","Colorloop","Rainbow",
"Scan","Scan Dual","Fade","Theater","Theater Rainbow","Running","Saw","Twinkle","Dissolve","Dissolve Rnd",
"Sparkle","Sparkle Dark","Sparkle+","Strobe","Strobe Rainbow","Strobe Mega","Blink Rainbow","Android","Chase","Chase Random",
"Chase Rainbow","Chase Flash","Chase Flash Rnd","Rainbow Runner","Colorful","Traffic Light","Sweep Random","Running 2","Red & Blue","Stream",
"Scanner","Lighthouse","Fireworks","Rain","Merry Christmas","Fire Flicker","Gradient","Loading","Police","Police All",
"Two Dots","Two Areas","Circus","Halloween","Tri Chase","Tri Wipe","Tri Fade","Lightning","ICU","Multi Comet",
"Scanner Dual","Stream 2","Oscillate","Pride 2015","Juggle","Palette","Fire 2012","Colorwaves","Bpm","Fill Noise",
"Noise 1","Noise 2","Noise 3","Noise 4","Colortwinkles","Lake","Meteor","Meteor Smooth","Railway","Ripple",
"Twinklefox","Twinklecat","Halloween Eyes","Solid Pattern","Solid Pattern Tri","Spots","Spots Fade","Glitter","Candle","Fireworks Starburst",
"Fireworks 1D","Bouncing Balls","Sinelon","Sinelon Dual","Sinelon Rainbow","Popcorn","Drip","Plasma","Percent"
],"palettes":[
"Default","Random Cycle","Primary Color","Based on Primary","Set Colors","Based on Set","Party","Cloud","Lava","Ocean",
"Forest","Rainbow","Rainbow Bands","Sunset","Rivendell","Breeze","Red & Blue","Yellowout","Analogous","Splash",
"Pastel","Sunset 2","Beech","Vintage","Departure","Landscape","Beach","Sherbet","Hult","Hult 64",
"Drywet","Jul","Grintage","Rewhi","Tertiary","Fire","Icefire","Cyane","Light Pink","Autumn",
"Magenta","Magred","Yelmag","Yelblu","Orange & Teal","Tiamat","April Night","Orangery","C9","Sakura",
"Aurora"
]}
where do i have to replace the line you mean?
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 »

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)
Attachments
sshot-2.jpg
sshot-2.jpg (31.95 KiB) Viewed 3312 times
Prutsium
Posts: 92
Joined: Monday 18 June 2018 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany / Netherlands
Contact:

Re: Python Plugin: WLED

Post by Prutsium »

Facing simular issues with he Plugin:

Code: Select all


2020-04-24 08:57:04.652  Error: (TV Led) 'onCommand' failed 'ConnectionError'.
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 281 in '/home/pi/domoticz/plugins/wled/plugin.py', function onCommand
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 228 in '/home/pi/domoticz/plugins/wled/plugin.py', function onCommand
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 418 in '/home/pi/domoticz/plugins/wled/plugin.py', function doWLEDRequest
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 75 in '/usr/lib/python3/dist-packages/requests/api.py', function get
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 60 in '/usr/lib/python3/dist-packages/requests/api.py', function request
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 533 in '/usr/lib/python3/dist-packages/requests/sessions.py', function request
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 646 in '/usr/lib/python3/dist-packages/requests/sessions.py', function send
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 516 in '/usr/lib/python3/dist-packages/requests/adapters.py', function send
Was there a fix in the meantime?
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: 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?
I will try to reproduce it on my installation and fix it.
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 »

Prutsium wrote: Friday 24 April 2020 8:59 Facing simular issues with he Plugin:

Code: Select all


2020-04-24 08:57:04.652  Error: (TV Led) 'onCommand' failed 'ConnectionError'.
2020-04-24 08:57:04.652  Error: (TV Led) ----> Line 281 in '/home/pi/domoticz/plugins/wled/plugin.py', function onCommand
Was there a fix in the meantime?
This indicates an error connecting to your installation. Please check your IP settings.
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 »

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)
Hi, is there a solution to the problem I have described?
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 »

frustreerMeneer wrote: Friday 24 April 2020 9:13 I will try to reproduce it on my installation and fix 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 »

I have 4 wemos D1 mini configured with WLED and configured in Domoticz.

3 of the WLED are working great, but 1 configured WLED is 1 way traffic. So when i change the effect via Domoticz, the effect is changing on the Wemos D1 mini with WLED. But When i Change the effect (or pattern or colour) via the app WLED, there is no change in domoticz.

How to solve this?
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 »

Why i get this errors every day ? I have to boot my whole raspberry again to solve the issue, then for a couple of hours it works again, and then it starts over.

Code: Select all

2020-05-08 12:00:58.932 Error: MQTT Discovery hardware (21) thread seems to have ended unexpectedly
2020-05-08 12:00:58.932 Error: WLED Hal Nodemcu hardware (25) thread seems to have ended unexpectedly
2020-05-08 12:00:58.932 Error: WLED Wemos Kerst hardware (26) thread seems to have ended unexpectedly
2020-05-08 12:00:58.932 Error: WLED 4 kant Kippen Villa hardware (29) thread seems to have ended unexpectedly
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) 'onCommand' failed 'ConnectionError'.
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) ----> Line 281 in '/home/pi/domoticz/plugins/wled/plugin.py', function onCommand
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) ----> Line 212 in '/home/pi/domoticz/plugins/wled/plugin.py', function onCommand
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) ----> Line 418 in '/home/pi/domoticz/plugins/wled/plugin.py', function doWLEDRequest
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) ----> Line 70 in '/usr/lib/python3/dist-packages/requests/api.py', function get
2020-05-08 12:01:06.292 Error: (WLED Hal Nodemcu ) ----> Line 56 in '/usr/lib/python3/dist-packages/requests/api.py', function request
2020-05-08 12:01:06.293 Error: (WLED Hal Nodemcu ) ----> Line 488 in '/usr/lib/python3/dist-packages/requests/sessions.py', function request
2020-05-08 12:01:06.293 Error: (WLED Hal Nodemcu ) ----> Line 609 in '/usr/lib/python3/dist-packages/requests/sessions.py', function send
2020-05-08 12:01:06.293 Error: (WLED Hal Nodemcu ) ----> Line 487 in '/usr/lib/python3/dist-packages/requests/adapters.py', function send
2020-05-08 12:01:06.313 Error: (MQTT Discovery) No transport, write directive to '192.168.31.31' ignored.

Code: Select all

2020-05-09 03:44:15.433 Error: CConnection_disconnect, disconnection request from 'WLED 4 kant Kippen Villa' ignored. Transport is not connecting or connected.
2020-05-09 03:44:15.434 Error: (WLED 4 kant Kippen Villa) Exception detail: 'Expecting ',' delimiter: line 5 column 48 (char 1249)'
2020-05-09 03:44:15.434 Error: (WLED 4 kant Kippen Villa) 'onMessage' failed 'ValueError'.
2020-05-09 03:44:15.434 Error: (WLED 4 kant Kippen Villa) ----> Line 277 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-05-09 03:44:15.434 Error: (WLED 4 kant Kippen Villa) ----> Line 188 in '/home/pi/domoticz/plugins/wled/plugin.py', function onMessage
2020-05-09 03:44:15.434 Error: (WLED 4 kant Kippen Villa) ----> Line 318 in '/usr/lib/python3.4/json/__init__.py', function loads
2020-05-09 03:44:15.435 Error: (WLED 4 kant Kippen Villa) ----> Line 343 in '/usr/lib/python3.4/json/decoder.py', function decode
2020-05-09 03:44:15.435 Error: (WLED 4 kant Kippen Villa) ----> Line 361 in '/usr/lib/python3.4/json/decoder.py', function raw_decode

Code: Select all

2020-05-15 07:27:07.914 Error: (WLED 4 kant Kippen Villa) Exception detail: 'Expecting ',' delimiter: line 5 column 48 (char 1249)'
error messages are way more, this is just a peace of it.

Is it something to do with WLED version 0.10.0 ???
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest