Is there an known method to have mutiple monitor to send data to HA?
They can actually all send to the same port. The packets have the monitor serial number in them, so the integration is able to route them appropriately.
So Iāve configured both GEM today to send packets to the same port. Itās finding on one of them, even though both are configured with the same settings. Also, when configuring using the UI, after asking me for the 4th pulse sensor, it just hangs there. So far the only part where I was successful was to create the entities in the YAML config and let it import what it found.
Am I doing something wrong?
I would double check that both gems are configured identically in terms of packet format and network settings. If that doesnāt work, head over to the GitHub repo and file an issue, including all of the logs and so on info that the template will request: GitHub - jkeljo/hacs-greeneye-monitor: HACS version of the Home Assistant Core greeneye_monitor component. For beta-testing and faster deployment of changes.
I was told that in dashbox there is a way to adjust some kind of error ratio from the sensor reported energy usage per sensor (its called multiplier I think). I see right now there is about a 2% error with the energy reported by my energy provider and the GEMS. Is this something that could be done within the add-on or you see it differently?
Interesting, thatās potentially not all that hard to add. Do you have any docs on how that works for dashbox?
In the meantime, Home Assistant itself has ways to add sensors that compute their value from the values of other sensors (theyāre called template sensors). But if thereās a standard adjustment that needs to be applied to all channels, that would be much easier to just do in this integration.
A friend of mine sent me this screenshot from his dashbox. Apparently on the dashbox you can set the multiplier to any value you want. So he adjusted the āerror marginā using that. In the GEM box you can only toggle this āmultiplierā on or off which will either leave it as it or multiply it by 2.
I havenāt found anything relevant in the documentation. Iāve written to Ben from Brultech and waiting for a reply.
I added the custom repo to HACS, downloaded, and then installed the integration. I even restarted HA just in case, but Iām just seeing this. Did I miss a step? Just to add - Iām using a Dashbox, and set port forwarding to the HA server on port 8000.
Thatās a known issue when you click the configure button; thereās nothing left to configure after youāve added the integration. Once it receives a data packet from your DashBox it will add entities for all of the sensors. So it seems that something is not quite right with the GEM/DashBox setup, such that packets arenāt arriving at whatever port the integration is configured to listen on, or else the packets arenāt of the right format (they need to be one of the BIN formats). If you double check all of the configuration and itās still not working, file an issue over at the GitHub page for this integration, making sure to include all of the diagnostic information that the issue template asks for, and weāll go from there!
Ok - thanks for the response. I suspect itās the wrong format packets. I need to get into the GEM to check that, but itās been YEARS since I did that, and the credentials I expect should be working are not. That has nothing to do with this integration though, and Iāll figure it out eventually or ask for help on the Brultech forum. Iām excited to get this integration working.
With much help from Ben, I got my GEM and Dashbox updated to the latest software / firmware, and got the integration installed. Itās working, but Iām seeing something very odd. I enabled the current sensor on one channel, and itās showing the correct value. The energy sensor though is crazy high (all of them appear to be) and I have no idea why. Am I reading this incorrectly?
I just noticed something else really odd. This is the exact same sensor as the previous screenshot, but the current draw is lower (and matches what the Dashbox page is showing). BUT - I just noticed that the energy reading is still exactly the same.
Itās just reporting whatever the GEM is. I believe you can reset the energy counters in the GEM itself, but I wouldnāt bother. Home Assistantās energy dashboard looks at how much the energy value changes per time period, and doesnāt care about absolute values.
Re the energy sensor not changing:
- At 1-2A, itāll take somewhere between 2 and 10 hours to use a kilowatt-hour of energy, depending on what the voltage is
- The energy sensors are only updated once every 30 minutes so as not to overwhelm Home Assistantās database while still giving plenty of data for the energy dashboard.
Got it - that makes sense. Thanks!
Any thoughts about using the Brultech āEngine Softwareā to send ECM-1240 packets to this plugin? Iāve tried multiple configurations under the home automation config (to forward data to a host), but with no success so far.
Iām using two older ECM-1240s with a serial-to-ethernet server. I have the āEngineā running on a Windows host, and itās receiving packets from the ECM-1240s without issue. But Iām not seeing any recognition from the plugin on the Home Assistant side. Iāve confirmed that port 8000 is open on the HA host, but Iām not seeing any traffic.
Just want to be sure this is feasible before I sink too much more time into it. Iād rather not sink more money into buying dash box unless I absolutely have toā¦
First Iāve heard of this engine software; if itās able to forward packets, though, I would expect it to be able to work. When I wrote the ECM-1240 support I had a serial to Ethernet bridge configured in client mode to send packets directly to my Home Assistant instance; you might try that as a troubleshooting step. The Brultech forums are also super helpful.
Thank you for the quick response. Iām going to try and see if I can set up my serial to Ethernet device to forward packets directly. It looks like I can via āconnectā mode - Iāll try that this evening. Itās a Lantronix PremierWave XN (these units are dirt cheap on eBay and are very full-featured).
Iād definitely prefer not to use the āEngine Softwareā as itās just another failure point in the chain, and it very much appears to be old software and no longer maintained (though you can still download it on Brultechās website).
Also, thank you for your work on this integration. Looking forward to getting it working. Iām donating my old ECM-1240 and picked up a second one on eBay to monitor energy usage at a community swim club.
Hey, Dave. Iām in the same place you were here. Iāve added the integration, updated my dashbox and GEM, and set up the packet forward on the dashbox (under Settings / Add-ons / Packet Forwarding). I put it as a Client Connection to the HA server ip and port 8000 for all devices (and persist set to on), but I donāt see anything on the home assistant side (same messages you saw). What did you do to get it working?
Thanks!
This is the thread on the Brultech forum where Ben was helping me. Hopefully this gives you some clues.
https://www.brultech.com/community/viewtopic.php?f=29&t=2370