FeatureRequest: Support for OilFox

Hi,

it would be great to see support for OilFox (https://www.oilfox.io/) in HA - a smart oil tank meter that is quite popular in German-speaking countries. OpenHab, ioBroker, and Symcon all have support for it already.

https://www.symcon.de/forum/threads/36541-Modul-OilFox-Füllstandsmesser


Any news regarding OilFox integration?

Do anybody has lately problem with OilFox service?

I’m getting:

“<!doctype html>HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}

HTTP Status 404 – Not Found

And on msg.payload debug I get:

“Unexpected token < in JSON at position 0”

Don’t know if this is the problem on latest update of HA and Node-Red or there is just problem on OilFox API access…

I created a Python Module https://github.com/ITTV-tools/oilfoxpy
And I am also working on a Integration (It is not finished yet)
Here a little teaser:

Nice work Lukas!

1 Like

I bought an OilFox today and I can‘t wait to see an intergration for home assistant. The teaser above looks promising.


You can try it out. But the integration is more of a test :smiley:

(Better make a backup before testing)

2 Likes

Thank you! :+1: :+1: :+1:
I will try it, as soon as my Olifox arrive. I don’t think, that this litte ingetration will terminate my home assistant - do you use it frequently?

I dont have a oilfox myself :smiley: I wrote this for a colleague

Hi @ITTV-tools

Thanks for the integration - nice work!
I used it the same way i use all my other custom integrations.

However i get the following error “Platform error sensor.oilfox - No module named ‘oilfox’”

also " init .py" is empty (as compared to other integrations)?

this is my folder setup
image

Thanks for supporting!

Hi @ITTV-tools - is there is still any development happening on this?

Hi not right now. I dont have access to a oilfox.

Hello Lukas,

maybe i can support you with my 2nd Oilfox ? Could send you some login infos for the second one because i dont use it at the moment ?

tryed to fix your solution but could not get very far.

For now the new url is https://foxinsights.ai/?lang=de

Greetings

Kilowatt from Austria

The OilFox manufacturer has released an official API: GitHub - foxinsights/customer-api: Documentation and examples for our API tailored to end customers who wish to import their Fox devices' data into their own system

I only had a quick look but it seemed to me as if this would allow to get rid of all additional dependencies/workflows and could directly be used in an integration.

This thread is quiet old but I created a integration some time ago, available via HACS. If something is not working just create a issue on GitHub :slight_smile:

1 Like

Fantastic - thanks for replying after this long time!