This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In addition to the below template entities, you must also create Helpers named as follows: | |
| # input_number.sim_power_grid | |
| # input_number.sim_power_solar | |
| # input_number.sim_power_battery | |
| # input_number.sim_power_car | |
| # input_number.sim_power_hotwater | |
| # input_number.sim_battery_soc | |
| # input_number.sim_water_flow | |
| # Each helper must be given a range which is appropriate for the data it represents, i.e. sim_power_car would be ranged from 0 - 7300 watts for a 32A charger. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "interactionModel": { | |
| "languageModel": { | |
| "invocationName": "my house", | |
| "intents": [ | |
| { | |
| "name": "AMAZON.CancelIntent", | |
| "samples": [] | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set environment variable BIN_CALENDAR_URL to the specific ical calendar for your postcode | |
| # https://refusecalendarapi.azurewebsites.net/calendar/ical/<id> where <id> can be found | |
| # interactively using https://www.cambridge.gov.uk/check-when-your-bin-will-be-emptied | |
| from urllib2 import urlopen | |
| from datetime import datetime, timedelta | |
| import os | |
| from ask_sdk_core.skill_builder import SkillBuilder | |
| from ask_sdk_core.dispatch_components import ( | |
| AbstractRequestHandler, AbstractExceptionHandler, |