Please keep us updated if you have any progress…
I’m also about to order one and was looking in integrating it. Will share how it goes when I get back to our Oel-Haus
if i make the request with postman i also get the response like you (with backslashes).
as this is the first time i’m trying something like this, I have no clue…
I’m seeing the same behaviour. The actual JSON string of the response is somehow re-encoded as JSON, ending up in a single string. To correct for this, you need to decode JSON twice. As far as I know this isn’t supported by the REST integration.
I’ve been toying with adding my own integration, but I’m struggling with the learning curve and Home Assistant’s somewhat lacklustre developer documentation.
So I have a basic integration working and I’m testing it now. I’m hoping to get it into good enough shape to submit to Home Assistant core, but I may have to make it available as a custom integration for now, if anyone else wants it.
It uses a proper config flow (no YAML editing) and knows how to work around the double-encoded JSON output from the E-Sensorix API.
Thank you! Good to know someone else tested this! I’m still learning HACS (which is why I don’t have the HACS banners etc. on the github page). I understand there’s some metadata that need to be added before the repo can be used directly from HACS, and I haven’t done that yet. Soon though!
First thank you for the efforts with the Integration.
Second I hope I that someone can help me with it as I am not using the e-Sensosrix one I use the EcoFrog from Protheus. This has a other API address and I can’t get it to work I have the API-Docimentation but I haven’t worked with API or programming. So maybe someone can assist me or show me the right path
As the Integration from @alexiosc hasent worked for me as i have the “same” Sensor from ad different seller (www.proteus-sensor.de) . Below a working yaml code.
Enter this in you configuration.yaml and change the credentials in the payload line.
Hi, thank you for your example. I have also purchased the sensor from www.proteus-sensor.de. Can you please explain me some more things about your example?
payload: ‘{DeviceRequest: {“Username”: “[email protected]”, “accountID”: “12345”, “SecurityStamp”: “xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx”, “DeviceID”: “xxxxxxx” }}’
accountID = Password?
SecurityStamp where do I get GUID from?
DeviceID = Serial number?
@4Nemo :
Sorry havent had seen your post. Glad that it work with my script. but i think i made some changes because the API request is to often so. i killed this and made an automation to fetch the data
In the Config Change scan_Interval to 31536000.
Then Make an Automation that reloads the Restful at a given time:
i purchased the same sensor from heizoel24.de. Hardwarewise it is exactly the same sensor. I also was in contact with proteus-support. They can reconfigure the API for my device to their servers.
But i want to achieve a “cloudfree” solution. So the device should only communicate within my local network. Did someone have experience with this?
Im able to decrypt the JSON which was send from the device. And i also create a smal “man-in-the-middle” (which is just a local DNS-Record) which routes the traffice send by the device to one of my local IPs. But im not really experienced with python…
Hello, I have been using the Ecofrog for several months now. However, it looks a little different than when I started. About every 20 liters I see a change in consumption. Therefore, a daily consumption calculation is not really possible. However, it is quite sufficient for a rough estimate of the supply in order to reorder oil in time.
I now follow a different approach: I have installed a Shelly PM1 on my heating system. This measures the current flow reliably. As a result, I can now see exactly to the second when the burner is switched on and when it is switched off again. On the nozzle you can read the flow per hour. Also when the water pumps are connected to the shelly, I can see the start and stop of the burner. I then use this data to calculate the consumption. It’s not 100% accurate, but it certainly comes closer to actual consumption than the Ecofrog.
this is not directly a flaw. this is normal as the EcoFrog is a ultrasonic device. it measures the distance between the sensor and the surface with a tolerance from +/- 1-2cm. and 1 cm is around 40 liters in a tank (in my case with a 6000 Liter Tank.
With only a Shelly PM1 its not possibly to mesure the flow so i assume you have put a flow meter in the oil line?
Yes, I know that it is with the ultrasound. For me, 1 cm corresponds to about 20 liters. However, it does not allow you to accurately calculate the daily consumption. With the current temperatures, the tank capacity fluctuates around the 20 liters, which additionally leads to some inaccuracy.
I only use the Shelly. It says on the nozzle how many gallons per hour it passes. The Shelly is very reliable in indicating when the burner activates and when it stops. It’s not 100 percent accurate, but it’s more accurate than ultrasound.