Yes they can coexist - the two things are completely different - please continue
The ESPHome component takes the serial data from the TX device and sends it on to other systems (primarily emoncms and HA).
The emoncms add-on is a complete emoncms system that runs in HA. It is just one way to run emoncms rather than a dedicated Pi, Linux host, VM, emoncms.org, etc, etc. The add-on isn’t ‘overkill’ it is a simple means of running emoncms in an existing setup (which is really good). How the data gets to the add-on just depends on circumstances & setup with the ESPHome component just one option!
Others may wish to use, what in someway is a superior system, for storing and viewing the data collected.
You asked for an unlimited emoncms for testing - installing the add-on gives you that in a simple way
My vision for this is that it is not just a component to communicate with HA, but could replace the existing ESP code to link a TX to emoncms (currently emonESP). In this case, a user may wish to just configure the data to be sent via HTTP and not create HA sensors.
It is because that is what I have ready to go
I’d need a configuration to test the HTTP interface. Perhaps a full config example?
Oh yes, I see. I know from the ESPHome doc, that any module programmed with it can be used without HA. For that, a special parameter has to be defined to avoir the ESP reboot every couple of minutes. The other way is to disable completely the native API.
No you don’t and in theory we could include the ESPHome Builder with emoncms. You can also create a deployable configuration that sets up the Wi-Fi connection etc.
To an extent that is external to the Component, but worth bearing in mind.
Nice work @FredM67! I think a good goal might be to get the emonTx to a position where it can have the Built for ESPHome label attached. This would open up a big new user base for the system as well, for those who don’t have or don’t want to use emonCMS.
With that in mind, would it help if I sent @borpin the currently built adapter board, rather than you? Then you’d have someone else who can test independently. Let me know and I’ll arrange
It’s up to you, you can send the adapter to @borpin if he needs it more than me.
Sure, this extension could be a good argument to sell more emontx. Today, an IoT device without the label like “Works with Alexa, Home Assistant…” will have less success.
But there’s one “big” point about all the openenergymonitor stuff. They need a way to sell it to the EU without problems (custom fees, …) due to the Brexit.
I remember, I bought my EmonTx4 through Robin Emley, who brought it to me in person in France.
Well, that’s an entirely different (and rather smelly…) kettle of fish. The customs amounts aren’t usually too bad, but it’s on a country by country basis rather than unified so it’s easy to make a mistake. Sometimes I’ve been charged for things, other times not - probably very manageable for big companies, but not so for small ones Anyway, let’s leave that aside for now and focus on some excellent integration!
Well, it can take a long time, BUT,
As far as I’ve read, if multiple users write a comment on the PR that the system is working, then it should reduce the time, since the reviewer(s) will see, “ok, multiple users have tested it, and it works”.
The other way to speed-up the process is to have a (good) contact with one or more of the reviewers… unfortunately, I don’t know anybody there !
In the mean time, it’s usable through the PR using this extra block in the yaml:
external_components:
- source: github://pr#9027
components: [ emontx ]
refresh: 0s # ensure a fresh pull from GitHub - only required if you think things will have changed.
Where you have “'Create individual sensors” this should perhaps be “create sensors for HomeAssistant that track…” - as these definitions only really work with HA.
Could you please add “This component can also be used to send data to an emoncms (link) system via HTTP” [and MQTT eventually]. Working directly with emoncms seamlessly is a key benefit!
[edit]
A link to the http component page would probably be useful too
I’d be inclined to turn your http/emoncms note into a section as an example configuration for emoncms so it the appears in the left menu? This may break their doc structure so nothing more than a suggestion.