sudo apt-get update
sudo apt-get upgradeTested on 17.10 Artful
| type: custom:button-card | |
| show_state: true | |
| tap_action: none | |
| custom_fields: | |
| home_image: | |
| card: | |
| type: picture | |
| image: local/Sigenergy/home_has_solar_has_car.png | |
| card_mod: | |
| style: | | 
| type: custom:apexcharts-card | |
| apex_config: | |
| chart: | |
| height: 200px | |
| all_series_config: | |
| unit: " kWh" | |
| header: | |
| show: true | |
| standard_format: true | |
| show_states: true | 
| type: custom:button-card | |
| show_state: true | |
| tap_action: none | |
| custom_fields: | |
| home_image: | |
| card: | |
| type: picture | |
| image: local/Sigenergy/home_has_solar_has_car.png | |
| card_mod: | |
| style: | | 
| import random | |
| import sys | |
| import time | |
| import os | |
| import json | |
| from datetime import datetime, timezone | |
| from binance_trade_bot.auto_trader import AutoTrader | |
| from binance_trade_bot.models import Trade | 
| blueprint: | |
| name: Heating Control | |
| description: Control your heating with options for group home, if temp is below | |
| a specific value, set temp, and heating between specific times. | |
| domain: automation | |
| input: | |
| heating: | |
| name: Climate Device | |
| description: The climate device to use. | |
| selector: | 
| // | |
| // PendingView.swift | |
| // Dream Stream | |
| // | |
| // Created by Finbarr Brady on 23/07/2020. | |
| // | |
| import SwiftUI | |
| struct PendingView<Content: View>: View { | 
| opkg update | |
| opkg install ca-certificates | |
| wget --no-check-certificate -O /usr/lib/sms/delsms.sh https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/delsms.sh | |
| wget --no-check-certificate -O /usr/lib/sms/processsms https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/processsms | |
| wget --no-check-certificate -O /usr/lib/sms/sendsms.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/sendsms.lua | |
| wget --no-check-certificate -O /usr/lib/sms/smsread.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/smsread.lua | |
| wget --no-check-certificate -O /usr/lib/sms/pack7bit.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/pack7bit.lua | |
| wget --no-check-certificate -O /usr/lib/sms/smsout.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sm | 
| # Script to parse serial output from HKC alarm panel board. | |
| # When an event is parsed, notify via PushBullet. | |
| # | |
| # Converted from perl here http://www.boards.ie/vbulletin/attachment.php?attachmentid=3558$ | |
| # See post #21 in this thread http://www.boards.ie/b/thread/2057414902/2? | |
| # | |
| # Requires: | |
| # pip install pyserial | |
| # pip install pushbullet.py | 
| ####################### | |
| #EMAIL SMS IN ROOTER # | |
| ####################### | |
| # | |
| #name this file to /usr/lib/sms/forwardsms.sh | |
| #insert the following lines between "uci commit modem" and "fi" of the loop in file /usr/lib/sms/processsms | |
| #if [ -e /usr/lib/sms/forwardsms.sh ]; then |