MySensors MQTT Gateway does not work
See original GitHub issueI tried to use MyController to connect with my existing MQTT broker. So this is working fine, but MyController can not process any message from this gateway. For each MQTT message i get the following error:
Unable to process this rawMessage:RawMessage(gatewayId=1, data=4.65, subData=/mysensors-out/20/0/1/0/37, isTxMessage=false, networkType=MY_SENSORS)
org.mycontroller.standalone.message.RawMessageException: Unknown message format, Topic:/mysensors-out/20/0/1/0/37, PayLoad:4.65
This error is also for other nodes and sensors present.
My system requirements are:
- MyController version 0.0.3.Alpha2
- java version 1.8.0_111
- MQTT Broker subscribe to topic
/mysensors-out
- MySensors Version 2.1.1 (with MySensors 2.0.0 are the same)
If i tried to send a raw message to a node, it works. After that, a node will be created, but the incoming error will be the same.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Building a MQTT Gateway - MySensors
The MQTT gateway is basically a Ethernet Gateway with modified software which makes it act as a MQTT client. Start by building the...
Read more >[SOLVED] MySensors MQTT Gateway - offline
I have strange problem with MQTT: MySensors MQTT Gateway is offline, allthough lof is at one point saying that is connected?! Here is...
Read more >esp8266 gateway doesn't connect to mqtt broker
Hi, I'm using ESP8266 mqtt client gateway to connect to my controller and I use cloud mqtt service. controller has connected to the...
Read more >[Solved] MQTT gateway problem - MySensors Forum
I have: arduino mega; ethernet shield; mosquitto on linux (192.168.1.75:1883); mysensors 2.0; arduino ide 1.6.12; MQTT gateway.
Read more >ESP8266 WiFi MQTT gateway won't respond to parent request.
This Gateway has been working for over a year with a temperature sensor node on a ATMEGA168 Seeduino arduino board. Both were running...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Much thanks it works. PS: Is it necessary to use google.com scripts? Because i don’t trust google.
@pgollor May be issue with ngMap,
You may need to disable this line https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/app.js#L59 and https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/controllers/settings.js#L58~L62
I didn’t test this.
In your package refer
mycontroller/www/*