Shims SetUp
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
What kind of Generator/Interface is this? Is the MQTT API documented anywhere?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
Oh, if you can have it send actual JSON instead of Raw, you might be able to get this to work. Please just post the output from the MQTT monitoring tool first. Skip all the other screenshots.farberm wrote:JSON - typo
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Shims SetUp
On the MQTT device (the generator) I have the option to return numeric values in the Status topic as a JSON string which can be converted to an object with integer or float values.
When that is turned on some topics have value included but not the Ambient Temperature Sensor, but I get values for Voltage....
When I turn this option off I get no values for any topics just what you see below.
When that is turned on some topics have value included but not the Ambient Temperature Sensor, but I get values for Voltage....
When I turn this option off I get no values for any topics just what you see below.
- Attachments
-
- Screen Shot 2020-02-16 at 11.04.00 AM.png (116.5 KiB) Viewed 2505 times
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
Post the output with the option on.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Shims SetUp
Here is is with it on. Some of the topics have value... Specifically Utility Voltage/value
- Attachments
-
- Screen Shot 2020-02-16 at 11.14.35 AM.png (98.21 KiB) Viewed 2517 times
Re: Shims SetUp
Also if I add "Match: value" to the topic component in the temperature trigger then I never see an event in the event log suggesting that the trigger never occurs... therefore no value for that topic. If I stop sending JSON as value then the other triggers never occur also suggestion that it stops sending values. I guess it is only sending values for certain topics?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
What's the EXACT wording on that option? Better yet, post a screen shot of the configuration page.
What's the model of this device? Is there a link to the configuration options?
What's the model of this device? Is there a link to the configuration options?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Shims SetUp
here is the screenshot. I can ask the programmer to see if they can be included. The device is a Generac Generator
- Attachments
-
- Screen Shot 2020-02-16 at 11.04.40 AM.png (46.85 KiB) Viewed 2510 times
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
Third and last time: What device is this? Manufacturer? Model? Website?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Shims SetUp
Sorry for not responding with the clearest of answers.
Specifics:
The device that I am connecting to is a Generac Generator Evolution 2 Model 22KW. I have a Raspberry Pi connected to it running a program that interfaces with it to collect data and notify me when the generator is running etc.
The Github project that detailes the interface to the generator is https://github.com/jgyates/genmon.
I have been searching thru the github issue pages for additional information.
This is all I have found so far.
If you enabled the Genmon MQTT option on the Add-Ons page "JSON for Numerics" it will return numeric values instead of strings for all numeric items on the Status page. You can also export the numeric data in JSON format with the command "generator: status_num_json". To issue the command you can either use the myclient.py python library or issue a socket call to port 9082, sending the text "generator: status_num_json" .
Not sure if that would help however.
The specific topic I am reading is this one : https://github.com/jgyates/genmon/issues/223 among others. But not found an answer yet.
Specifics:
The device that I am connecting to is a Generac Generator Evolution 2 Model 22KW. I have a Raspberry Pi connected to it running a program that interfaces with it to collect data and notify me when the generator is running etc.
The Github project that detailes the interface to the generator is https://github.com/jgyates/genmon.
I have been searching thru the github issue pages for additional information.
This is all I have found so far.
If you enabled the Genmon MQTT option on the Add-Ons page "JSON for Numerics" it will return numeric values instead of strings for all numeric items on the Status page. You can also export the numeric data in JSON format with the command "generator: status_num_json". To issue the command you can either use the myclient.py python library or issue a socket call to port 9082, sending the text "generator: status_num_json" .
Not sure if that would help however.
The specific topic I am reading is this one : https://github.com/jgyates/genmon/issues/223 among others. But not found an answer yet.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
Sounds like to get actual JSON you need to do the command "generator: status_num_json" thing. That option is misleading because that just changes the value fields in the JSON output from string to numbers, but doesn't actually turn on JSON output.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Shims SetUp
Thanks for all your help. I will start to work with the genmon programmer to see what we can come up with. Appreciate your time and willingness to help.
Re: Shims SetUp
The developer for genmon will try and add values for the other topics in the next few updates. Thanks for your help
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Shims SetUp
Sounds like a plan.farberm wrote:The developer for genmon will try and add values for the other topics in the next few updates. Thanks for your help
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177