Home Assistant?

Post any 3rd party software here.
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Home Assistant?

Post by scyto » Sun Jan 24, 2021 5:45 pm

Does anyone have the GEM data going into home assistant.

I had assumed via MQTT it would be the way. I am unclear from the BTMON MQTT thread if that project is dead or not (due to the talk of needed merges).
ben
Site Admin
Posts: 4262
Joined: Fri Jun 04, 2010 9:39 am

Re: Home Assistant?

Post by ben » Mon Jan 25, 2021 10:38 am

scyto wrote:
Sun Jan 24, 2021 5:45 pm
Does anyone have the GEM data going into home assistant.

I had assumed via MQTT it would be the way. I am unclear from the BTMON MQTT thread if that project is dead or not (due to the talk of needed merges).
You can send packets directly to Home Assistant with the GEM using this: https://www.home-assistant.io/integrati ... e_monitor/
Ben
Brultech Research Inc.
E: ben(at)brultech.com
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Thu Feb 11, 2021 12:43 am

ben wrote:
Mon Jan 25, 2021 10:38 am
scyto wrote:
Sun Jan 24, 2021 5:45 pm
Does anyone have the GEM data going into home assistant.

I had assumed via MQTT it would be the way. I am unclear from the BTMON MQTT thread if that project is dead or not (due to the talk of needed merges).
You can send packets directly to Home Assistant with the GEM using this: https://www.home-assistant.io/integrati ... e_monitor/
umm well now i feel stupid, not sure how i missed that, thanks Ben as always!
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Thu Feb 11, 2021 12:44 am

ben wrote:
Mon Jan 25, 2021 10:38 am
scyto wrote:
Sun Jan 24, 2021 5:45 pm
Does anyone have the GEM data going into home assistant.

I had assumed via MQTT it would be the way. I am unclear from the BTMON MQTT thread if that project is dead or not (due to the talk of needed merges).
You can send packets directly to Home Assistant with the GEM using this: https://www.home-assistant.io/integrati ... e_monitor/
umm well now i feel stupid, not sure how i missed that, thanks Ben as always!
ben
Site Admin
Posts: 4262
Joined: Fri Jun 04, 2010 9:39 am

Re: Home Assistant?

Post by ben » Thu Feb 11, 2021 10:33 am

scyto wrote:
Thu Feb 11, 2021 12:44 am
ben wrote:
Mon Jan 25, 2021 10:38 am
scyto wrote:
Sun Jan 24, 2021 5:45 pm
Does anyone have the GEM data going into home assistant.

I had assumed via MQTT it would be the way. I am unclear from the BTMON MQTT thread if that project is dead or not (due to the talk of needed merges).
You can send packets directly to Home Assistant with the GEM using this: https://www.home-assistant.io/integrati ... e_monitor/
umm well now i feel stupid, not sure how i missed that, thanks Ben as always!
NP!
Ben
Brultech Research Inc.
E: ben(at)brultech.com
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Fri Mar 05, 2021 7:27 pm

I see that my latest dashbox firmware has an MQTT add on in it :-)
(my last firmware i just updated from was from april 2016 i think, lol)

Sweet, have you considered an option to send human readable topic names - for example all my channels have names - send names instead of say 'c24'

I will probably use the HA integration, so this is just a mild suggestion :-)
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Fri Mar 05, 2021 8:56 pm

Ok so i set the HA integration up, i don't seem to be able to get it work....

These are the settings in the configuration.yaml

Code: Select all

greeneye_monitor:
  port: 12345
  monitors:
    - serial_number: "01000xxx"
      channels:
        - number: 1
          name: total_power
      voltage:
        - number: 1
          name: house_volts
I have set the GEM to BIN-48-Net Time on both com1 and com2 (dashbox is using com2) as instructions say i can use any binary-format packets.
I set the network tab on the GEM to machinename.domian.com and port 12345 - where machine name is the DNS name of my home assistant machine ( I also have tried IP address).
No data appears in home assiatnt.

any ideas?
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Sat Mar 06, 2021 5:54 pm

It seems HA integration doesn't like BIN48 net time.
It does like bin 32 net.

seem like the docs need to be clearer, anyone have any idea if the HA integration only supports bin 32 net - or other packet formats too?
Last edited by scyto on Sat Mar 06, 2021 5:59 pm, edited 1 time in total.
scyto
Posts: 258
Joined: Sun Apr 06, 2014 7:24 pm

Re: Home Assistant?

Post by scyto » Sat Mar 06, 2021 5:58 pm

jerryt wrote:
Fri Mar 05, 2021 9:11 pm
I believe that HA is a server, so your Serial to Ethernet adapter will need to be set to Client.
See; viewtopic.php?f=29&t=2149
not the issue, it was packet format, I changed to bin32-net (packet format 8) and it worked, seems the integration doesn't like bin48-net-time (packet format 4)
i also don't have a wiznet so i have no clue that that thread is on about :-)
ben
Site Admin
Posts: 4262
Joined: Fri Jun 04, 2010 9:39 am

Re: Home Assistant?

Post by ben » Mon Mar 08, 2021 11:47 am

scyto wrote:
Sat Mar 06, 2021 5:58 pm
jerryt wrote:
Fri Mar 05, 2021 9:11 pm
I believe that HA is a server, so your Serial to Ethernet adapter will need to be set to Client.
See; viewtopic.php?f=29&t=2149
not the issue, it was packet format, I changed to bin32-net (packet format 8) and it worked, seems the integration doesn't like bin48-net-time (packet format 4)
i also don't have a wiznet so i have no clue that that thread is on about :-)
The newer DashBox F/W supports Bin-32-NET (since ~4.2.4b8) also.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Post Reply