Closed jellewie closed 1 year ago
Hello, Just adding to this.
Just installed the add-on yesterday and i'm also experiencing the same error in the debug logs. I attached my debug log below, its the same error as above, but running on amd64 hardware instead of aarch64 (don't think it matters).
[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to DEBUG [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [08:47:09] DEBUG: Requested API resource: http://supervisor/services/mqtt [08:47:09] DEBUG: Request method: GET [08:47:09] DEBUG: Request data: {} [08:47:09] DEBUG: API HTTP Response code: 200 [08:47:09] DEBUG: API Response: {"result": "ok", "data": {"host": "core-mosquitto", "port": 1883, "ssl": false, "protocol": "3.1.1", "username": "addons", "password": "baht0Gief3hiTe6boaMeigh6ahfaht5queebaiXie8beefuiD3finahw3chah2ce", "addon": "core_mosquitto"}} [08:47:09] INFO: Log_level: debug [08:47:09] INFO: mqtt_host: core-mosquitto [08:47:09] INFO: mqtt_port: 1883 [08:47:09] DEBUG: mqtt_username: mqtt-user [08:47:09] DEBUG: mqtt_password: HIDDEN [08:47:09] INFO: Starting dutch gas prices... [2023-04-15 08:47:09] INFO : DGP initialized, launching client [2023-04-15 08:47:09] INFO : Connecting mqtt [2023-04-15 08:47:09] INFO : Connected with result code 0 [2023-04-15 08:47:25] INFO : Received payload '{"fuel_type":"euro95","radius":5,"latitude":HIDDEN,"longitude":HIDDEN,"to_publish":3}' on topic 'dgp/gas_stations' [2023-04-15 08:47:25] DEBUG : gas_station: Fuel 'euro95' new request [2023-04-15 08:47:25] DEBUG : Starting new HTTPS connection (1): tankservice.app-it-up.com:443 [2023-04-15 08:47:25] DEBUG : https://tankservice.app-it-up.com:443 "GET /Tankservice/v1/places?fmt=web&fuel=euro95 HTTP/1.1" 200 None [2023-04-15 08:47:26] DEBUG : station: Station id '4668' new request [2023-04-15 08:47:26] DEBUG : Starting new HTTPS connection (1): tankservice.app-it-up.com:443 [2023-04-15 08:47:26] DEBUG : https://tankservice.app-it-up.com:443 "GET /Tankservice/v1/places/4668.png HTTP/1.1" 200 None [2023-04-15 08:47:26] ERROR : Unable to process station_request payload '{'fuel_type': 'euro95', 'radius': 5, 'latitude': HIDDEN, 'longitude': HIDDEN, 'to_publish': 3}' with error: 'y1 must be greater than or equal to y0' [2023-04-15 08:47:26] INFO : publishing status to mqtt [2023-04-15 08:47:26] DEBUG : on_message: received the topic 'homeassistant/sensor/dgp/status/config' [2023-04-15 08:47:27] DEBUG : publish_status: Waiting for discovery on topic 'homeassistant/sensor/dgp/status/config' [2023-04-15 08:47:27] DEBUG : publish_status: Autodiscover 'True', State 'True' and Attributes 'True' [2023-04-15 08:47:27] INFO : publishing status done
If you need more logs or information, let me know.
I can reproduce this with a fresh install. Probably an update of an dependency, will update as soon as possible.
Just released 2023.4.16.1 where this issue is solved
When I try and set up this plugin it does not seem to work getting the data.
Unable to process station_request payload '{'fuel_type': 'euro95', 'radius': 5, 'latitude': 53, 'longitude': 6, 'to_publish': 3}' with error: 'y1 must be greater than or equal to y0'
I have tried look in the readme's and the documentation, but no luck. Also it seems the codebase does not include those words anywhere so sadly I can't read it back and reverse figure out what is wrong. I hope you can help me.
debug Log:
It does that it can get the Json string of stations
https://tankservice.app-it-up.com/Tankservice/v1/places?fmt=web&fuel=euro95
and the image page for the station if found also workshttps://tankservice.app-it-up.com/Tankservice/v1/places/6899.png
But then the bug starts I think