jgyates / genmon

Generac (and other models) Generator Monitoring using a Raspberry Pi and WiFi
GNU General Public License v2.0
385 stars 79 forks source link

MQTT Briggs & Stratton Missing Messages #1175

Closed Mundane0 closed 2 months ago

Mundane0 commented 2 months ago

Just got this all up and running and when checking the MQTT messages with MQTT Explorer there are somethings that seem to be missing from the list.

genmon_mqtt

there are no MQTT messages for Utility Frequency 1 or 2, Generator Frequency 1 and 2, Generator L1-L2 Voltage, Generator L1 and L2 Amps. All of which function fine when doing a test run from the main status page.

genmon_screen

is this something I can configure on my end or is this part of the Briggs_Stratton_GC-1032.json file?

thanks in advance

jgyates commented 2 months ago

The issue here is that the MQTT add on will only take the text output from genmon (not the gauge data) and output it as MQTT topics. I can add these values to the text output and that should allows these values to show up via MQTT. I should be able to do this in the next day or 2.

jgyates commented 2 months ago

I checked in an update so you should just be able to update from the About page and see the results on the Status page. The MQTT topics will match the formatting on the text output of the status, maintenance and monitor pages (i.e. generator/Status/Engine/Generator L1 Frequency/.

Screenshot 2024-09-09 at 2 38 01 PM

Let me know if you have any questions.

Mundane0 commented 2 months ago

Update from the about page did not work, not sure if it is because I am running Genmon in docker, was able to manually copy and paste the new json file into my docker image and restart Genmon to get it working. Thanks for the quick reply, now to finish my Home Assistant dashboard.

jgyates commented 2 months ago

For docker it depends on how it was setup. For the update to work you do have to check out the repository with git as described here. The update is just using the git command to update directly from github. Just copying the repository will not allow the administrative git files to be created.

Also, I did not update the version number so the current version is still 1.19.04.