npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.spritmonitor

v0.0.2

Published

This adapter allows you to manage your fuel consumption via spritmonitor.de.

Downloads

28

Readme

Logo

ioBroker.spritmonitor

NPM version Downloads Number of Installations Current version in stable repository

NPM

Test and Release

Donate

spritmonitor adapter for ioBroker

This adapter allows you to manage your fuel consumption via spritmonitor.de.

Disclaimer

All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal. Spritmonitor is a trademark of Fisch und Fischl GmbH, D-94136 Thyrnau.

Installation requirements

  • node.js >= v16.4 is required
  • js-controller >= v4.0.24 is required
  • admin >= v6.3.5 is required
  • Application Key, generated by spritmonitor.de, is required

Controls

  • .ACTIONS.UPDATE: Update values
  • .ACTIONS.ADD.ADD: Add a new fueling
  • .ACTIONS.ADD.vehicleId[^1]: Numeric ID of the vehicle to get fuelings for
  • .ACTIONS.ADD.tankId[^1]: Numeric ID of the tank to get fuelings for
  • .ACTIONS.ADD.date[^1]: Date of the fueling to be added (requied format: DD.MM.YYYY)
  • .ACTIONS.ADD.odometer: Odometer of the fueling to be added
  • .ACTIONS.ADD.trip[^1]: Trip of the fueling to be added
  • .ACTIONS.ADD.quantity[^1]: Amount of fuel of the fueling to be added
  • .ACTIONS.ADD.type[^1]: Type of fueling to be added (allowed values: invalid, full, notfull, first)
  • .ACTIONS.ADD.price: Price of the fueling to be added
  • .ACTIONS.ADD.currencyid: Numerical ID of the currency of the fueling to be added (allowed values see .general.currencies)
  • .ACTIONS.ADD.pricetype: Numeric ID of price (allowed values: 0: total price, 1: unit / liter price)
  • .ACTIONS.ADD.fuelsortid[^1]: Numeric ID of the fuelsort of the fueling to be added (allowed values see .general.fuelsorts)
  • .ACTIONS.ADD.quantityunitid[^1]: Numeric ID of quantity unit (allowed values see .general.quantityunits)
  • .ACTIONS.ADD.note: Free text note of the user for the fueling to be added
  • .ACTIONS.ADD.stationname: Gas station company for the fueling to be added
  • .ACTIONS.ADD.location: Free text location name for the fueling to be added
  • .ACTIONS.ADD.country: Country of the gas station for the fueling to be added
  • .ACTIONS.ADD.bc_consumption: Consumption according to the vehicle's bordcomputer
  • .ACTIONS.ADD.bc_quantity: Consumed quantity according to the vehicle's bordcomputer
  • .ACTIONS.ADD.bc_speed: Average speed according to the vehicle's bordcomputer
  • .ACTIONS.ADD.position_lat: Latitude of gas station
  • .ACTIONS.ADD.position_long: Longitude of gas station
  • .ACTIONS.ADD.attributes: Combination of one tire type (wintertires, summertires, allyeartires) and one driving style (slow, normal, fast) and one or more extras (ac, heating, trailer)
  • .ACTIONS.ADD.streets: Combination of city and/or autobahn and/or land
  • .ACTIONS.DEL.DEL: Delete a fueling
  • .ACTIONS.DEL.vehicleId[^1]: Numeric ID of the vehicle to delete a fueling for
  • .ACTIONS.DEL.tankId[^1]: Numeric ID of the tank to delete a fueling for
  • .ACTIONS.DEL.fuelingId[^1]: Numeric ID of the fueling to be deleted
  • Area / Grossraum is not supported by the API

[^1]: required values

Available values (readonly)

  • .[vehicleID].id: Vehicle ID
  • .[vehicleID].make: Make
  • .[vehicleID].model: Model
  • .[vehicleID].consumption: Consumption value of this fuel type
  • .[vehicleID].consumptionunit: Name of consumption unit
  • .[vehicleID].tripsum: Amount of driven distance for this tank (for consumption calculation)
  • .[vehicleID].tripunit: Trip unit
  • .[vehicleID].quantitysum: Amount of tanked fuel for this tank (for consumption calculation)
  • .[vehicleID].maintank: Maintank
  • .[vehicleID].maintanktype: Type of tank
  • .[vehicleID].sign: Sign
  • .[vehicleID].picture_ts: picture_ts
  • .[vehicleID].bcconsumptionunit: Bordcomputer consumption unit
  • .[vehicleID].country: Country
  • .[vehicleID].tanks.[tankID].id: Tank ID
  • .[vehicleID].tanks.[tankID].fuelsorttype: Type of tank
  • .[vehicleID].tanks.[tankID].quantityunittype: Quantity type of tank
  • .[vehicleID].tanks.[tankID].name: Name of fueltype in tank
  • .[vehicleID].tanks.[tankID].consumption: Consumption value of this fuel type
  • .[vehicleID].tanks.[tankID].consumptionunit: Name of consumption unit
  • .[vehicleID].tanks.[tankID].consumptionunitid: Numerical ID of consumption format
  • .[vehicleID].tanks.[tankID].co2: Emission of CO₂ for this vehicle in g/km
  • .[vehicleID].tanks.[tankID].co2tripsum: Amount of driven distance for which CO₂ was calculated
  • .[vehicleID].tanks.[tankID].co2quantitysum: Amount of emissioned CO₂ in kg
  • .[vehicleID].tanks.[tankID].costsum: Amount of money spent for fuel for this tank
  • .[vehicleID].tanks.[tankID].costsumunit: Currency of the fuel expenses
  • .[vehicleID].tanks.[tankID].costtripsum: Amount of driven distance for which the fuel expenses have been summed
  • .[vehicleID].tanks.[tankID].tripsum: Amount of driven distance for this tank (for consumption calculation)
  • .[vehicleID].tanks.[tankID].tripsumunit: Unit for driven distance (km, mi)
  • .[vehicleID].tanks.[tankID].quantitysum: Amount of tanked fuel for this tank (for consumption calculation)
  • .[vehicleID].tanks.[tankID].quantitysumunit: Unit for tanked fuel (l, GAL, kg, kWh, ...)
  • .[vehicleID].fuelings.raw: A JSON array of fuelings
  • .[vehicleID].costsnotes.raw: A JSON array of costs / notes
  • .reminders.raw: A JSON array of reminders
  • .general.companies: List of supported companies, IDs and names
  • .general.currencies: List of supported currencies, IDs and names
  • .general.fuelsorts: List of supported fuelsorts, IDs and names
  • .general.quantityunits: List of supported quantityunits, IDs and names

How to report issues and feature requests

  • For issues please use GitHub issues -> "Bug report" and fill in the form.

    Set the adapter to debug log mode (Instances -> Expert mode -> Column Log level). Get the logfile from disk (subdirectory "log" in ioBroker installation directory and not from Admin because Admin cuts the lines). Check that there are no personal information before you publish your log.

  • For feature requests please use GitHub issues -> "Feature request" and fill in the form.

Changelog

0.0.2 (03.03.2024)

  • (ice987987) BREAKING: node.js >= v16.4, js-controller >= v4.0.24 and admin >= v6.3.5 is required
  • (ice987987) BREAKING: .[vehicleID].fuelings.[year].raw and .[vehicleID].costsnotes.[year].raw removed
  • (ice987987) possibility to add and delete values added
  • (ice987987) all tanks added
  • (ice987987) [vehicleID].costsnotes.[year].raw and [vehicleID].fuelings.[year].raw added
  • (ice987987) .ACTIONS.ADD.attributes and .ACTIONS.ADD.streets added
  • (ice987987) .general.companies, general.currencies, .general.fuelsorts and .general.quantityunits added
  • (ice987987) gui validator replaced
  • (ice987987) warning messages improved
  • (ice987987) dependencies updated

0.0.1 (26.11.2022)

  • (ice987987) initial release

License

MIT License

Copyright (c) 2024 ice987987 [email protected]

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.