项目作者: xXBJXx

项目描述 :
Fuel prices for Austria
高级语言: JavaScript
项目地址: git://github.com/xXBJXx/ioBroker.e-control-at-fuel.git
创建时间: 2020-05-04T09:11:48Z
项目社区:https://github.com/xXBJXx/ioBroker.e-control-at-fuel

开源协议:MIT License

下载


Logo

ioBroker.e-control-at-fuel

NPM version
Downloads

Installations
Dependency Status

NPM

Tests: Test and Release

WARNING: This adapter is no longer maintained!

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.

E-Control-at-fuel

Fuel prices for Austria

Forum Post

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

The adapter reads the fuel prices from E-Control.at:

config

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.

Adapter Documentation

A detailed description can be found Adapter Documentation

Sentry

What is Sentry.io and what is reported to the servers of that company?

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.

Changelog

0.1.6-beta.2 (2021-07-11)

  • (xXBJXx) Adapter is no longer maintained please note the info!

0.1.6-beta.1 (2021-01-27)

  • (xXBJXx) fixed bug test-and-release.yml

0.1.6-beta.0 (2021-01-26)

  • (xXBJXx) config page style customized
  • (xXBJXx) Most expensive dp removed
  • (xXBJXx) Code Optimization
  • (xXBJXx) Dependency updates
  • (xXBJXx) README revised and added Documentation link and LICENSE updated
  • (xXBJXx) test-and-release.yml updated
  • (xXBJXx) removed travis

0.1.5-0 (2020-11-01)

  • (xXBJXx) add GitHub Actions (test and release) and dependabot auto merge
  • (xXBJXx) Dependency updates performed
  • (xXBJXx) change State create

0.1.4

  • (xXBJXx) Dependency updates performed

0.1.3

  • (xXBJXx) Adjusted the code and fixed some bugs
  • (xXBJXx) Dependency updates performed

0.1.2

  • (xXBJXx) code adjustment carried out

0.1.1

  • (xXBJXx) Code optimization carried out and README adapted

0.1.0

  • (xXBJXx) Latest Release

0.0.8

  • (xXBJXx) added new stations + logos
  • (xXBJXx) new state prices.combined

0.0.7

  • (xXBJXx) fixed name bug and added new stations + logos

0.0.6

  • (xXBJXx) added Gas station logos in svg and png format

0.0.5

  • (xXBJXx) Json table adjusted and all stations in one Dp

0.0.4

  • (xXBJXx) cheapest / most expensive gas station
  • (xXBJXx) Added DP output as JSON
  • (xXBJXx) added Gas station logos

0.0.3

  • (xXBJXx) City and fuel type added as a designation

0.0.2

  • (xXBJXx) beta release

0.0.1

  • (xXBJXx) initial release

License

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.