Comments (5)
Logs show normal behabiour, no errors and no warnings. So, I understand communication between node and gateway is fine.
What MQTT client are you using to subscribe to messages? What is the configuration / comman line ?
from enigmaiot.
I am using Mosquitto MQTT.
I have two Gateway-MQTT bridges. One with 0.5.1 version named Home01 and another one with 0.9.4 version named Casa01.
I have one node connected to each of them.
The command line to subscribe is:
mosquitto_sub -v -h 192.168.0.150 -p 1883 -t '#'
and the output is:
Casa01/W01/status {"per":0.000000e+00,"lostmessages":0,"totalmessages":26,"packetshour":362.90}
Home01/5C:CF:7F:23:D7:DC/data [{"channel":0,"type":103,"name":"temperature","value":22.7},{"channel":1,"type":104,"name":"humidity","value":70.5},{"channel":2,"type":121,"name":"altitude","value":20},{"channel":3,"type":115,"name":"pressure","value":1010.8}]
Home01/5C:CF:7F:23:D7:DC/status {"per":0.000000e+00,"lostmessages":0,"totalmessages":2,"packetshour":1060.38}
Casa01/W01/status {"per":0.000000e+00,"lostmessages":0,"totalmessages":27,"packetshour":362.90}
Home01/5C:CF:7F:23:D7:DC/data [{"channel":0,"type":103,"name":"temperature","value":22.7},{"channel":1,"type":104,"name":"humidity","value":70.5},{"channel":2,"type":121,"name":"altitude","value":20},{"channel":3,"type":115,"name":"pressure","value":1010.8}]
Home01/5C:CF:7F:23:D7:DC/status {"per":0.000000e+00,"lostmessages":0,"totalmessages":3,"packetshour":360.36}
In the 0.5.1 version system (Home01) I receive "status" and "data" topics for the node, but in the 0.9.4 version system only receive "status" topic but not "data".
Thanks in advance.
from enigmaiot.
Nodes must have same version as gateway they are connected to. You may try to use another example as enigmaiot_node_msgpack.
Sorry, I cannot give you more help without more information.
from enigmaiot.
Thanks for your time.
I used the same version on the node and gateway for testing each version.
The examples are used as is for testing version 0.9.4.
If I use the enigmaiot_node_msgpack example then I get the "data" topic.
from enigmaiot.
I'm glad it is working. I'm closing this issue. Let me know if I can help you again
from enigmaiot.
Related Issues (20)
- Support for BMP280 sensor HOT 3
- EnigmaIOT beginner's guide or help sources? HOT 4
- trying to build MQTT-noSSL HOT 1
- Errors when DEBUG enabled HOT 2
- ESP32 WiFi won't connect HOT 1
- GatewayAPI.cpp getNodeInfo() compile error HOT 3
- Bootloop in new nodes HOT 1
- Canβt work with EnigmaIOT HOT 4
- MQTT command line to switch LED off/on HOT 3
- esp8266 do not have enough RAM to run the default examples due to NUM_NODE mostly HOT 2
- Issue building for an esp32 with version 0.9.7 HOT 4
- Node without name HOT 1
- Portal recovery problem
- Instructions from howto.md does not work HOT 1
- Having trouble compiling gateway HOT 1
- FailSafe.h HOT 1
- Notice when a node is connected or disconnected from EnigmaIOT network
- FR: Is there a way to seperate MQTT client from ESP-Now controller? HOT 5
- El Gateway MQTT EnigmaIOT no funciona correctamente. HOT 7
- Nodes outside range of gateway but within range of another node
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 enigmaiot.