You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before I get stuck trying something that is just not possible, I thought I would check whether it's possible.
Utilising a similar packet structure to the one that allows text to be sent, I thought I would attempt to get my more accurate weather data from home assistant to be sent as the telemetry data for my homebase node. That way instead of providing a few data points that only reflect the internal temp and humidity of an enclosed case in direct sunlight, the community will see actual local weather data, rather than environmental readings that are only important to me for seeing if the electronic internals are getting too hot in the Aussie sun.
The formed packet is below, and it's sent to the /msh/ANZ/2/json/mqtt topic. Sending "sendtext" packets to that topic works fine, but I'm wondering if there's a way to also send environmental telemetry and have it picket up by the clients.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Before I get stuck trying something that is just not possible, I thought I would check whether it's possible.
Utilising a similar packet structure to the one that allows text to be sent, I thought I would attempt to get my more accurate weather data from home assistant to be sent as the telemetry data for my homebase node. That way instead of providing a few data points that only reflect the internal temp and humidity of an enclosed case in direct sunlight, the community will see actual local weather data, rather than environmental readings that are only important to me for seeing if the electronic internals are getting too hot in the Aussie sun.
The formed packet is below, and it's sent to the /msh/ANZ/2/json/mqtt topic. Sending "sendtext" packets to that topic works fine, but I'm wondering if there's a way to also send environmental telemetry and have it picket up by the clients.
{
"channel": 0,
"from": 1........0, // Yes, it's a full ID, redacted for publishing.
"type": "telemetry",
"payload": {
"barometric_pressure": "948.8",
"current": 0,
"gas_resistance": 0,
"iaq": 0,
"lux": "0.0",
"radiation": "0",
"relative_humidity": "77",
"temperature": "15.5",
"voltage": 0,
"white_lux": 0,
"wind_direction": "195",
"wind_gust": "9.3",
"wind_lull": 0,
"wind_speed": "6.1"
}
}
Anyone have any thoughts? Is there already a way to do this and I've just missed it in the documentation?
Beta Was this translation helpful? Give feedback.
All reactions