Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95354

MQTT - Using Mosquitto in HASSIO plus another broker?

$
0
0

@Borto wrote:

I’m a novice when it comes to MQTT and hoped someone could point me in the right direction.

I have the Mosquitto Broker installed and working on Hassio. I have a number of sensors displaying data from the broker and I’m happy with it.

I have an energy monitoring device in my power meter box that outputs MQTT data that I would like to display as two sensors in HA. I do not have access to change or configure this device.

If I open a browser and navigate to http://192.168.0.145:8080/#/mqtt it outputs the following stream of data…

1586258105: /sensor/935049fff719c85cb3154cd64971b175/gauge ~> [1586258105,0,“W”]
1586258105: /sensor/89eb82d859bdfa8a7884ca6fa798ed14/gauge ~> [1586258105,1018,“W”]
1586258104: /sensor/935049fff719c85cb3154cd64971b175/gauge ~> [1586258104,0,“W”]
1586258104: /sensor/89eb82d859bdfa8a7884ca6fa798ed14/gauge ~> [1586258104,1011,“W”]

The first value is solar generation and the second value is energy consumption. (Watts)

Can anyone guide me on how I can take this stream (MQTT) and use it to create two sensors in HA?

I hope I have used the correct terms above :wink:

Thanks
Anthony

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>