Comments (8)
I tried with a lot of special charaters ... even emojis and it was working.
I just tried with some the charaters you just set...
Maybe it's related to the slashes in the name?
Carl.
from zigbee2mqttassistant.
The list of devices is fine, even renaming. The problem appears when I try to scan to get the network map.
from zigbee2mqttassistant.
Please give me more details about the problem you are experiencing...
- Docker version (cpu type & OS)
- Installation type (docker or HASS.IO)
- Versions of Z2M + Z2MA
- Steps to reproduce
- Pertinent logs
- If you can, a dumb of the problematic message on
zigbee2mqtt/Climă parter 2/l2/set
(you can use MQTT explorer or any other MQTT client app)
from zigbee2mqttassistant.
Later update:
The problem is with one device (Xiaomi 2ch Relay) that is causing the error.
Starting Zigbee2MqttAssistant v0.3.89+Branch.master.Sha.d881022fb4928b73f3d2ed27ba0927ca51178c9c...
Hosting environment: Production
Content root path: /app
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.
warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0]
Another network scan request already in progress.
fail: Zigbee2MqttAssistant.Services.MqttConnectionService[0]
Error processing MQTT message on topic 'zigbee2mqtt/Climă parter 2/l2/set'
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: O. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at Zigbee2MqttAssistant.Services.BridgeStateService.UpdateDevice(String friendlyName, String jsonPayload, Boolean& forceLastSeen) in d:\a\1\s\Zigbee2MqttAssistant\Services\BridgeStateService.cs:line 106
at Zigbee2MqttAssistant.Services.MqttConnectionService.DispatchZigbee2MqttMessage(MqttApplicationMessage msg) in d:\a\1\s\Zigbee2MqttAssistant\Services\MqttConnectionService.cs:line 405
at Zigbee2MqttAssistant.Services.MqttConnectionService.HandleApplicationMessageReceivedAsync(MqttApplicationMessageReceivedEventArgs eventArgs) in d:\a\1\s\Zigbee2MqttAssistant\Services\MqttConnectionService.cs:line 341
The message received from Developer tools in home assistant subscription for MQTT:
Message 0 received on zigbee2mqtt/Climă parter 2/l2/set at 19:34:
OFF
============= Ignore below ==========
Docker version (cpu type & OS)
I'm using RPI 3B with HassOS 3.5
Installation type (docker or HASS.IO)
HassOS 3.5
Versions of Z2M + Z2MA
Version of Zigbee2MqttAssistant (this software): 0.3.89 (0.3.89+Branch.master.Sha.d881022fb4928b73f3d2ed27ba0927ca51178c9c) Release
Version of Zigbee2Mqtt: 1.6.0
Coordinator version: 20190619
Coordinator Zigbee Id:
Steps to reproduce
- Go to Z2MA
- Go to Map tab
- Press Launch New Network Scan
- Wait for scan to finish (wait for a bunch of LQI errors in Z2M)
zigbee2mqtt:error 2019-10-28T17:25:51: Failed to execute LQI for 'Mansardă lumină'
zigbee2mqtt:error 2019-10-28T17:26:01: Failed to execute LQI for 'Baie etaj - lumină'
zigbee2mqtt:error 2019-10-28T17:26:11: Failed to execute LQI for 'Dormitor lumină'
zigbee2mqtt:error 2019-10-28T17:26:21: Failed to execute LQI for 'Dormitor lumină 1'
zigbee2mqtt:error 2019-10-28T17:26:31: Failed to execute LQI for 'Dormitor lumină 2'
zigbee2mqtt:error 2019-10-28T17:26:41: Failed to execute LQI for 'Dressing lumină'
zigbee2mqtt:error 2019-10-28T17:26:52: Failed to execute LQI for 'Scări - lumină parter'
zigbee2mqtt:error 2019-10-28T17:27:02: Failed to execute LQI for 'Curte lumină'
- Errors like the above in Z2MA logs
Pertinent logs
Unfortunately I restarted the addon again to start fresh, and now it worked and don't have older logs. Maybe it's related to some memory problems. I did update the addon today (Z2MA) to latest release.
If you can, a dumb of the problematic message on zigbee2mqtt/Climă parter 2/l2/set (you can use MQTT explorer or any other MQTT client app)
If I can reproduce again, I'll post here, if I can't in a day or two, I'll just assume latest update somehow solved this.
from zigbee2mqttassistant.
I just found the problem... It's at this line:
https://github.com/yllibed/Zigbee2MqttAssistant/blob/master/Zigbee2MqttAssistant/Services/MqttConnectionService.cs#L58
It was there before being able to put slashes in the name of the device and this scenario hasn't been tested.
It's generating an error in the log, but it's not suppose to have any impact on the operations of the software...
Let me check if I can fix it quickly...
from zigbee2mqttassistant.
@all-contributors please add ciotlosm to bugs
from zigbee2mqttassistant.
I've put up a pull request to add @ciotlosm! 🎉
from zigbee2mqttassistant.
Fixed in v0.3.90
! Please try it.
from zigbee2mqttassistant.
Related Issues (20)
- Setting the base_topic for the docker image? HOT 2
- Devices are recognized but stated as "No components" [BUG] HOT 12
- unresponsive s. X hours vs. MQTT last_seen HOT 1
- [BUG]Unable to connect to MQTT server mqtt HOT 23
- Bug after HA last update HOT 12
- unable to connect to mqtt server HOT 9
- Don't show "NO COMPONENTS" error if not running as a HomeAssistant instance. HOT 1
- Network Map not working HOT 5
- Zigbee2MqttAssitant unable to connect to mqtt server HOT 3
- Use more of the available screen space (especially in the map view)
- Longer timeout before showing as unresponsive
- [BUG] Sengled E21-N1EA reporting not supported HOT 4
- [BUG] Issue with Sonoff SNZB-02 unresponsive HOT 1
- [BUG] Slae.sh CC2652RB stick is not listed in device tab of zigbee2mqttAssistant HOT 1
- System.InvalidCastException: Null object cannot be converted to a value type. HOT 1
- [BUG] only partial connection to z2m HOT 5
- Thanks for this project
- releases needed to track changes
- [BUG] Cannot download lasted Docker image and Z2MA not linking to Z2M
- [BUG] crashes when the network drops HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee2mqttassistant.