[ about | pics | projects | repos | weblog ]

[ ~derf ]

Services

genregenerator
Provides random music genres

Projects

Software

App::Raps2 v0.54
CLI password safe
Travel-Routing-DE-VRR v2.14
Interface to EFA-based itinerary services
Travel-Status-DE-DeutscheBahn v2.01
Interface to HAFAS-based arrival/departure monitors
Travel-Status-DE-VRR v1.13
Interface to EFA-based departure monitors

Firmware and Hardware

MicroMoody
I²C moodlight

Obsolete

These projects are neither developed nor maintained any more. Some do offer basic functionality, though.

App::Slackeria v0.12
Project status overview

News

Travel-Status-DE-IRIS-1.09.tar.gz (signature)

  • Travel::Status::DE::IRIS::Result: Fix ->classes accessor (returned a string instead of a list)
  • Fix DS100 codes for "Stuttgart Hbf (tief)" and "Stuttgart-Feuerbach"

Today I learned: The Banana Pi contains an AXP20 power management unit and the Linux kernel (or at least the Banian-provided one) has a working driver for it , thus making it very easy to read out the system's current voltage and current consumption:

#!/bin/zsh
printf "%.2fA @ %.1fV (%.1f°C)\n" \
$(( $(cat /sys/class/power_supply/ac/current_now) * 0.000001 )) \
$(( $(cat /sys/class/power_supply/ac/voltage_now) * 0.000001)) \
$(( $(cat /sys/class/hwmon/hwmon0/device/temp1_input) * 0.001))

I wrote two very simple munin plugins for these values: bananapi pm voltage and bananapi pm current

Note that the Ampere reading only reflects the current consumption of the board itself. The SATA connector is not accounted for, the USB ports might or might not be.

Travel-Status-DE-IRIS-1.08.tar.gz (signature)

  • New dependency: Geo::Distance
  • Update DS100 code list. Station names are now unabbreviated, e.g. "Dortmund Univeristät" instead of "Do Universität". Also, stations without train service are no longer included. Note that this list might contain errors. If you get "Request error: Station ... has no associated timetable" for a station which worked with previous versions, please submit a bug report.
  • Travel::Status::DE::IRIS::Stations now also returns international station number, longitude and latitutde for most stations
  • New method Travel::Status::DE::IRIS::Stations::get_station_by_location allows station lookup by geolocation

Travel-Status-DE-IRIS-1.07.tar.gz (signature)

  • Fix inefficient requests for stations with with heavily cross-referenced related-station tags (most notable example: München Hbf)

Travel-Status-DE-URA-1.02.tar.gz (signature)

  • Result: Add stop_indicator accessor
  • aseag-m: New option -oi (show stop point indicators)

Travel-Status-DE-URA-1.01.tar.gz (signature)

  • URA->results: Add via_id, stop_id and line_id parameters
  • URA->new: Add circle and with_stops parameters
  • URA: Add get_stops accessor

Travel-Status-DE-VRR-1.13.tar.gz (signature)

  • EFA: Add accessors name_candidates and place_candidates
  • EFA: errstr: in cases of ambiguous input, the name/place candidates list is no longer encoded in the errstr accessor. Use the new name_candidates / place_candidates accessors instead

Travel-Status-DE-IRIS-1.06.tar.gz (signature)

  • Partially fix slow response time and excessive network requests for stations with heavily cross-referenced related-station tags (most notable example: München Hbf). The implementation is still slightly inefficient in these cases, but far better than before -- A complete fix will follow in the next release. Note that db-iris calls using -x/--exact/--no-related are not affected by this issue.

Travel-Status-DE-IRIS-1.05.tar.gz (signature)

  • Update station list. It now uses data supplied by the Deutsche Bahn Open Data portal.
  • db-iris: New option -x / --exact / --no-related
  • IRIS->new: New options main_cache, realtime_cache and with_related
  • IRIS: Add ->station and ->related_stations accessors
  • db-iris: Include related stations in query output (for instance, "Köln Messe Deutz" will include "Köln Messe Deutz (tief)" and "Köln Messe Deutz Gl. 9-10"). Use --exact / --no-related to disable this.
  • IRIS: Same. Also, IRIS->new can now be passed Cache objects to cache HTTP requests for a user-defined time. This is most useful when building infoscreens and similar, since the scheduled and station data never changes and can therefore be cached to decrease network load and increase response time.

Travel-Status-DE-IRIS-1.04.tar.gz (signature)

  • Result: Add qos code 79 ("Ohne Mehrzweckabteil")
  • db-iris: Accept UIC station codes
  • Fix warnings with recent DateTime::Format::Strptime releases
  • Improve parser speed

Travel-Status-DE-URA-1.00.tar.gz (signature)

  • Reduce memory footprint
  • aseag-m: -of: Show delimiter between route before and after the requseted stop
  • aseag-m: Do not erroneously reverse stop list when combining -oa and -ob

Travel-Routing-DE-VRR-2.14.tar.gz (signature)

  • Remove support for the STV / Verbundlinie Steiermark EFA entry point (returns data with broken encoding)
  • Add VVO, VRN, VMV, KVV, TLEM and VBL EFA entry points

Travel-Status-DE-URA-0.05.tar.gz (signature)

  • aseag-m: Rename -a / -b / -f / -r to -oa / -ob / -of / -oT
  • aseag-m: New option -or (show partial route)
  • URA->new: Rename full_routes option to calculate_routes. The before/after parameters are no longer supported, instead any true parameter causes all routes to be calculated
  • URA::Result: Remove route_timetable accessor. Use route_pre / route_post instead
  • Ura::Result: Add route_pre, route_post and route_interesting accessors
  • new module: Travel::Status::DE::URA::Stop (describes a stop as a part of a departure's route)

Travel-Status-DE-DeutscheBahn-2.01.tar.gz (signature)

  • Result: Fix ->type accessor (was not working for all backends)
  • Result: Add ->train_no / ->line_no accessor
2015-10-04 00:00

App::Raps2 v0.54

App-Raps2-0.54.tar.gz (signature)

  • add dump-all command
  • Fix smartmatch warnings on perl ≥ 5.18

Travel-Status-DE-DeutscheBahn-2.00.tar.gz (signature)

  • This release is NOT backwards compatible with 1.xx versions
  • It now uses the HAFAS API instead of parsing bahn.de/ris and also supports various other HAFAS installations
  • New module dependencies: JSON, List::MoreUtils
  • Renamed db-ris to hafas-m
  • New modules: Travel::Status::DE::HAFAS and Travel::Status::DE::HAFAS::StopFinder
  • Renamed Travel::Status::DE::DeutscheBahn::Resultto Travel::Status::DE::HAFAS::Result
  • db-ris/hafas-m: The options -f / --full-route and -v/--via are no longer supported
  • db-ris/hafas-m: New options -s / --service, -u / --url and --list
  • Travel::Status::DE::DeutscheBahn/HAFAS->new: The mot parameter is no longer supported. Use the new excluded_mots and exclusive_mots parameters instead
  • Travel::Status::DE::DeutscheBahn/HAFAS->new: Add service and url parameters
  • Travel::Status::DE::DeutscheBahn/HAFAS: Add errcode, similar_stops and get_active_service accessors
  • Travel::Status::DE::DeutscheBahn/HAFAS: Add static methods get_services and get_service
  • Result: Remove route, route_raw, route_info, route_interesting and route_timetable accessors
  • Result: Add is_changed_platform and messages accessors
  • Result->info is now undef instead of an empty string when no information is available

Travel-Status-DE-IRIS-1.03.tar.gz (signature)

  • Result: Add info key 900
  • Station: Improve get_station matching quality by using the Levenshtein edit distance in addition to simple substring matching
  • new dependency: Text::LevenshteinXS (see README for notes about drop-in replacements)
  • new dependency: List::UtilsBy

Travel-Status-DE-VRR-1.12.tar.gz (signature)

  • EFA: Add static method get_efa_urls
  • Line: Add mot and mot_name accessors
  • Result: Add mot and mot_name accessors
  • efa-m: Add -A / --auto-url / --discover-and-print option
  • efa-m: Add -D / --discover option
  • efa-m: Add --list option
  • efa-m: Add -m / --mot option
  • efa-m: Add -s / --service option

Travel-Routing-DE-VRR-2.13.tar.gz (signature)

  • efa: Add -a / --accessibility option
  • efa: Add -B / --bike-info option
  • efa: Change --ignore-info default to ignore less when -a / -B is set
  • EFA->new: Add boolean config options with_low_platform, with_wheelchair, without_elevators, without_escalators and without_solid_stairs

Travel-Status-DE-VRR-1.11.tar.gz (signature)

  • efa-m: Remove -V alias for --version
  • efa-m: Add -V / --track-via option
  • efa-m: Add -O / --output option with outputtypes route_after, route_before, fullroute and route
  • efa-m: Always output schedule data when absolute times are requested. As before, delays are indicated by a +xyz mark next to the time