imeon-community / Imeon-to-MQTT

A python script to extract values from the inverter and inject them in an MQTT server. Typical use case for Home assistant or Jeedom.
MIT License
8 stars 3 forks source link

More data #3

Open rs3hc opened 10 months ago

rs3hc commented 10 months ago

@philippecrowdsec Hi, nice script.

can you maybe include the http://imeon-ip/scan page? there you get more details

best regards

philippecrowdsec commented 9 months ago

Hi @rs3hc, I've created this script mainly to feed my home assistant with data I needed for supervision & dashboard. As such, the 3 URLs parsed (which data are also present in scan) are the ones I needed. You can super easily extend the script by parsing a 4th URL (scan). Now it would maybe even be better since Scan has pretty much everything and is just 1 HTTP call and the Imeon is not so good at handling several calls at the same time.

Anyway, the format is super straightforward, so if anyone wants to extend it, I'll gladly add it to the repo.

Yoyouri commented 8 months ago

Good morning @rs3hc, Did you manage to add the data reading from the page below? http://imeon-ip/scan

The display format being different from the other pages and not having any coding knowledge, I was not successful!

Can you send me your code?

Thanking you in advance,

philippecrowdsec commented 8 months ago

Hi guys, can you define a bit more what you want, because sending the whole page means a lot of MQTT & HA cluttering. What is missing in the data sent that you'd need to see?

Yoyouri commented 8 months ago

Hi guys, can you define a bit more what you want, because sending the whole page means a lot of MQTT & HA cluttering. What is missing in the data sent that you'd need to see?

hello, I managed to retrieve the desired data on the Scan page. do you know if there is a page that allows you to read the production index?

philippecrowdsec commented 8 months ago

Not sure. What I'm doing on my end in Home Assistant is I update every hour/day/month some input.number with an automation, using utility_meter.calibrate method.

Yoyouri commented 8 months ago

I thought about using the power value produced but it's not at all accurate unless you record the power every second. that's why I was trying to find out if there was another page on which we could retrieve either the energy production of the day or the index since it was put into service