Fuel prices for Austria
Tests:
Since there is still an adapter that does the same thing, I will stop development of this adapter.
Link to the adapter ioBroker.fuelpricemonitor
You can also find it in the iobroker adapter list since it is already in stable.
This adapter uses the service Sentry.io to automatically report exceptions and code errors and new device schemas to me as the developer.
More details see below! Sentry
On the config page you only have to set the interval (the smallest adjustable time is 10 min) and enter the latitude and longitude which you can look up here
https://www.latlong.net/ then you only have to choose which fuel you want, and you are done.
As soon as the adapter starts, for each city name and the fuel type that was specified on the config page,
a folder is created e.g. rosenheim_diesel and in this folder the gas station folders are created the number
depends on the gas stations, which transmit their prices it is created still 1 folder the most favorable gas stations,
and a JSON table for all gas stations, which were created in the folder.
A detailed description can be found Adapter Documentation
Sentry.io is a service for developers to get an overview about errors from their applications. And exactly this is
implemented in this adapter.
When the adapter crashes, or another Code error happens, this error message that also appears in the ioBroker log is
submitted to Sentry. When you
allowed iobroker GmbH to collect diagnostic data then also your installation ID (this is just a unique ID without any
additional infos about you, email name or such)
is included. This allows Sentry to group errors and show how many unique users are affected by such an error.
All of this helps me to provide error free adapters that basically never crashs.
For more details and information on how to disable error reporting, please refer to the
Sentry plugin documentation
Sentry Reporting is used from js-controller 3.0.
MIT License
Copyright (c) 2021 xXBJXx
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.