-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting the sensor entities #1
Comments
Did you create a sensor? https://github.com/skons/hassio-addons/blob/main/dutch_gas_prices/DOCS.md |
Yes, it's in configuration.yaml |
Before we dive into docker, which is not completely my expertise, i want to know a few things in regards to your container setup
|
I thought i could not explain this one, but it is an easy one. It is showing amd64 as unused and this is correct. It has downloaded the image and it is used as base for the DGP container. I followed the official guidelines and there is no mention of cleaning up those images. An unused image, i think, is not a problem. |
So, the only thing missing, is the sensor... I do not know much about Docker too, but I know, that this unused image has not been there yesterday. So I do think, that the addon tryed to install a container, but it failed... As this is my only Python based addon, I'm pretty sure, it somehow plays a role here... |
It is running, but i do not see requests coming in. In your rest sensor you use http://homeassistant.local:5035, maybe use the ip of your HA? What happens if you browse to http://homeassistant.local:5035 or even better, http://homeassistant.local:5035/docs? |
Bingo, we are closer... sensor is made now. Thank's. But, now I see an error in the log, and the sensor does not show data. So please, stay with me a little longer :-)
|
As you can see the latitude and longitude have got the value None. If this is after a reboot, then it is expected and a known issue (see the docs ;) ). If your system is already up for a while, then zone.home is not set. I don’t know what to do about that, bur you could set your long and lat in the rest sensor |
it was a question of patience, I see...
So i get data now... But: |
Ah right, a proper bug. Got to fix that 😝 |
Anyway, very very big thank for fast, friendly and skilled assistance. 👍 |
Lowered radius from 10 to 5, it works fine... |
A new issue has been pushed which removes the error from your log. I also saw some weird stuff if things fail en then work out. The way the sensor is filled right now with the separate python script is not the way it should work. I hope i can fix this in the near future, maybe i need some help with that, i don't know. The best thing you can do is update, reboot and wait if that sensor shows data. You will get separate sensors with the individual gas stations sorted by cheapest first. You should look for those. Please let me know if everything keeps working |
I will try and communicate. Feel free to call me anytime, if testing is needed... |
Current version: 2021.7.16.2 (if that is the latest, other ways HA does not see update now), confirmed working... |
Today i woke up and got 2021.7.16.3 served for breakfast, and it stil works fine ;-) |
Installed exactly, as the manual states.
Only new entities, I get, are update sensors and the automation.
But no entities to see the gas prices.
Running on HA supervised 2021.7.2, Docker, Debian 10, all up to date.
Logs after whole day running:
Core log:
The text was updated successfully, but these errors were encountered: