question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MySensors MQTT Gateway does not work

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pgollorcommented, Feb 26, 2017

Much thanks it works. PS: Is it necessary to use google.com scripts? Because i don’t trust google.

0reactions
jkandasacommented, Feb 26, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found