-
Notifications
You must be signed in to change notification settings - Fork 90
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT: Unable to process this rawMessage:RawMessage #245
Comments
@ragflyer you can not send directly like you have mentioned. Currently MyController supports only for MySensors network type MQTT. You have to follow MySensors format. Your topic should be like as follows, Topic format:
You can see these values on MyController. Manually assign |
Dear Jeeva, Do you know of any working example to start with? |
@ragflyer By default And your gateway should look as follows, Now try with this settings, it should work,
NOTE: On your ESP8266 device, you have point MyController MQTT broker with MyController IP. |
Awesome, my mistake was in the 'network type' of the gateway, thanks a lot! I can see the sensors now, the log still shows errors though:
|
@ragflyer Yes, this is because no one subscribed I hope you are using For now you may hide this error by adding following line on your
Please note, this line will hide all the errors on |
@jkandasa, I'm also seeing these errors in the log. I couln't find "MyController v0.0.3.Final-SNAPSHOT" on the release page. Could you create a new release with this fix? |
@MPParsley SNAPSHOT version available here: http://forum.mycontroller.org/topic/58/download-snapshot-build |
I'm trying to receive data from an ESP8266 through the inbuilt MQTT Broker and get a lot of these:
Hopefully it has nothing to do with the topic (I set humidity to -in and temperature to -out on the sensor as I had no idea which one mycontroller expects).
Relevant code from the .ino:
Will mycontroller automatically create the sensors from received MQTT messages or do I have to set those up first?
The text was updated successfully, but these errors were encountered: