If you want to continue to use the UI to define Things:
- Go to the inbox, click the + icon, select MQTT
- Click “Add Manually”
- This should all be familiar to you since you’ve created the Broker Thing (and it shows as ONLINE?). Click on “Generic MQTT Thing”.
- Give it a meaningful name and ID.
- At the bottom right there should be something like “Open newly created Thing”. If you miss that, search for or browse to the new Thing in the list. Open it for editing by clicking on the pencil icon to the right.
- For each topic you want to subscribe to: click “Add Channel”, select the appropriate type, it looks like number is the correct one for all of these topic. Enter the topic with the value you want to subscribe to for the State topic. For example, to get the first temperature reading (?) at
emonpi.local/emonpi/t1for the State topic. As with the Thing, use meaningful names and IDs.
That’s it. There are no transformations or anything tricky needed here it appears. Just create number channels for each topic you want to subscribe to and put the right topic in.