This Adapter uses HERE.com API to check the traffic on your routes. You can configure multiple routes and the adapter will check the actual traffic situation and show you how long your journey will take. The Adapter has an alarm clock - so you can tell the Adapter at which time you have to be at work - and the Adapter starts playing Radio and makes an announcement on Alexa (Alexa2 Adapter required) - or you can use your own script to react on the alarm of the adapter..
So lets go:
After you entered all informations to the config dialog click "Save & Close". The Adapter should now restart and you are ready to go!
In the Instancesettings you can enable the Alarm-Clock by checking the "Enable Alarm-Clock feature". You should have the Alexa2 Adapter installed & set to use push connection in the Alexa2 Instancesettings. Select the Alexa-Device you want to be controlled by the Adapter and enter the TuneIn StationID you want to get played when the alarm is triggered. The Alarm-Volume has a range from 0-100. With the Speak string you can control the announcement of Alexa. Default is: Guten Morgen %name. Bei aktueller Verkehrslage benötigst du %dur zur Arbeit.
15 Seconds after Alexa started playing the specified TuneIn Station the String will be announced. If you for example have a Route named 'Daniel' and the Alarm triggers Alexa will say: Guten Morgen Daniel. Bei aktueller Verkehrslage benötigst du 29 Minuten zur Arbeit.
Leave the Speak string empty if you only want the Adapter to start playing the TuneIn Station and dont get any announcement.
Every Route has 7 Alarm-Channels (Monday-Sunday). In each Channel you have following states:
Code adaptions to use HERE v8 pi have been provided by @icastillo15 starwarsmalu@gmail.com.
The MIT License (MIT)
Copyright (c) 2023-2024 ioBroker Community Developers iobroker-community-adapters@gmx.de
Copyright (c) 2019 BuZZy1337 buzzy1337@outlook.de
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.