So it’s here, it’s installed and working well! Just got to make a little right angle bracket thing to mount it below a shelf near the meter…
I stuck those values in that you gave me @kevin, but it’s not showing up yet:
Items
> String GridPower { mqtt="<[mymosquitto:emonhub/rx/5/values:state:REGEX((.?),.)]" }
> Number PulseCount { mqtt="<[mymosquitto:emonhub/rx/5/values:state:REGEX(.?,.?,.?,.?,.?,.?,.?,.?,.?,.?,(.?),.)]" }
openhab.cfg
> # URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
> mqtt:mymosquitto.url=tcp://localhost:1883
> # Optional. True or false. Defines if the broker should retain the messages sent to
> # it. Defaults to false.
> mqtt:mymosquitto.retain=true
Everything else commented out.
I tried the IP address of the emonpi first in the MQTT address, assuming that it would need to look for a different device (as it is running on a different pi to openHAB). But I’ve just been trying it set to localhost
to see if that works.