Trying to get the Chevy Bolt online! #297
This commit is contained in:
parent
14e30de531
commit
c8ce78244b
|
@ -59,7 +59,7 @@ I use an [SD Card reader](http://amzn.to/2l2w9as) to swap SD cards between Pi an
|
|||
* [Pi Zero](http://amzn.to/2ougZQ3) with [Wireless Nub](http://amzn.to/2q38rg4) running Pi-Hole and smacking down internet ads left and right!
|
||||
* [NodeMCU Development Boards](http://amzn.to/2ou0NON) hooked into the alarm system wires for [DIY alarm system](http://www.vmwareinfo.com/2017/06/building-my-home-alarm-system-hardware.html). - [DIY Motion Sensors](http://www.vmwareinfo.com/2017/11/yet-another-inexpensive-motion-sensor.html)
|
||||
* [JuiceBox Pro 40 EVSE](http://amzn.to/2AIdSdx) - Used to Charge the Bolt EV.
|
||||
|
||||
* [Chevy Bolt Electric Car](http://amzn.to/2DRP83a) - Monitor Charging status of Electric Vehicle.
|
||||
Lots of my gear comes from [BetaBound](https://goo.gl/0vxT8A) for Beta Testing and reviews.
|
||||
|
||||
**Automations:**
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
|
||||
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
|
||||
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
|
||||
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
|
||||
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
|
||||
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
|
||||
|
||||
# Versions
|
||||
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
|
||||
SELENIUM_STANDALONE_VERSION=3.4.0
|
||||
SELENIUM_SUBDIR=$(echo "$SELENIUM_STANDALONE_VERSION" | cut -d"." -f-2)
|
||||
|
||||
# Remove existing downloads and binaries so we can start from scratch.
|
||||
apt-get remove google-chrome-stable
|
||||
rm ~/selenium-server-standalone-*.jar
|
||||
rm ~/chromedriver_linux64.zip
|
||||
rm /usr/local/bin/chromedriver
|
||||
rm /usr/local/bin/selenium-server-standalone.jar
|
||||
|
||||
# Install dependencies.
|
||||
apt-get update
|
||||
apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
|
||||
|
||||
# Install Chrome.
|
||||
curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
|
||||
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
|
||||
apt-get -y update
|
||||
apt-get -y install google-chrome-stable
|
||||
|
||||
# Install ChromeDriver.
|
||||
wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/
|
||||
unzip ~/chromedriver_linux64.zip -d ~/
|
||||
rm ~/chromedriver_linux64.zip
|
||||
mv -f ~/chromedriver /usr/local/bin/chromedriver
|
||||
chown root:root /usr/local/bin/chromedriver
|
||||
chmod 0755 /usr/local/bin/chromedriver
|
||||
|
||||
# Install Selenium.
|
||||
wget -N http://selenium-release.storage.googleapis.com/$SELENIUM_SUBDIR/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar -P ~/
|
||||
mv -f ~/selenium-server-standalone-$SELENIUM_STANDALONE_VERSION.jar /usr/local/bin/selenium-server-standalone.jar
|
||||
chown root:root /usr/local/bin/selenium-server-standalone.jar
|
||||
chmod 0755 /usr/local/bin/selenium-server-standalone.jar
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
AMPs:
|
||||
entities:
|
||||
- switch.living_room_amp
|
||||
# - switch.bathroom_amp
|
|
@ -1,74 +0,0 @@
|
|||
Bear Stone View:
|
||||
name: Bear Stone Run
|
||||
view: yes
|
||||
icon: mdi:home
|
||||
entities:
|
||||
- persistent_notification.update_available
|
||||
- group.home_modes
|
||||
- group.family
|
||||
- group.weather
|
||||
- group.amps
|
||||
- group.Bedroom_lights
|
||||
- group.Kitchen_lights
|
||||
- group.Dinette_lights
|
||||
- group.living_room_lights
|
||||
- group.living_room_accents
|
||||
- group.dining_room_lights
|
||||
- group.foyer_lights
|
||||
- group.upstairs_lights
|
||||
- group.den_lights
|
||||
- group.hallway
|
||||
- group.office_lights
|
||||
- group.garage_lights
|
||||
- group.outdoor_pool_lights
|
||||
- group.outdoor_lights
|
||||
- group.all_switches
|
||||
- group.media_players
|
||||
|
||||
Doors:
|
||||
view: yes
|
||||
icon: mdi:security-home
|
||||
entities:
|
||||
- group.family
|
||||
- group.garage_doors
|
||||
|
||||
|
||||
Lights:
|
||||
view: yes
|
||||
icon: mdi:lightbulb
|
||||
entities:
|
||||
- group.home_modes
|
||||
- group.amps
|
||||
- group.interior_lights
|
||||
- group.outdoor_lights
|
||||
- group.Bedroom_lights
|
||||
- group.Kitchen_lights
|
||||
- group.Dinette_lights
|
||||
- group.living_room_lights
|
||||
- group.living_room_accents
|
||||
- group.dining_room_lights
|
||||
- group.foyer_lights
|
||||
- group.upstairs_lights
|
||||
- group.den_lights
|
||||
- group.office_lights
|
||||
- group.garage_lights
|
||||
- group.outdoor_pool_lights
|
||||
- group.outdoor_front_lights
|
||||
- group.all_switches
|
||||
|
||||
Info:
|
||||
view: yes
|
||||
icon: mdi:settings
|
||||
entities:
|
||||
- group.family
|
||||
- group.home_modes
|
||||
- group.network
|
||||
- group.sensors
|
||||
- group.garage_doors
|
||||
- sun.sun
|
||||
- group.media_players
|
||||
- group.weather
|
||||
- group.all_lights
|
||||
- group.all_switches
|
||||
- group.all_automations
|
||||
- group.all_scripts
|
|
@ -2,7 +2,7 @@
|
|||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
###################################
|
||||
## [Chevy Bolt](http://amzn.to/2dcexIB)
|
||||
## [Chevy Bolt](http://amzn.to/2DRP83a)
|
||||
###################################
|
||||
|
||||
# homeassistant:
|
||||
|
@ -13,62 +13,20 @@
|
|||
# hidden: False
|
||||
# homebridge_hidden: True
|
||||
|
||||
# group:
|
||||
# skybell:
|
||||
# name: Skybell HD Front Door
|
||||
# control: hidden
|
||||
# entities:
|
||||
# - binary_sensor.skybell_stone_door_button
|
||||
# - binary_sensor.skybell_stone_door_motion
|
||||
# - camera.stone_door
|
||||
# - sensor.skybell_stone_door_chime_level
|
||||
# - sensor.skybell_stone_door_motion_sensor
|
||||
# - switch.skybell_stone_door_do_not_disturb
|
||||
# - switch.skybell_stone_door_motion_sensor
|
||||
group:
|
||||
bolt:
|
||||
name: Chevy Bolt EV
|
||||
control: hidden
|
||||
entities:
|
||||
- device_tracker.Carlo_Bolt_EV
|
||||
- binary_sensor.mychevy_plugged_in
|
||||
- sensor.mychevy_charge_mode
|
||||
- sensor.mychevy_charging
|
||||
- sensor.mychevy_evcharge
|
||||
- sensor.mychevy_mileage
|
||||
- sensor.mychevy_range
|
||||
- sensor.mychevy_status
|
||||
|
||||
mychevy:
|
||||
username: !secret mychevy_email
|
||||
password: !secret mychevy_password
|
||||
|
||||
|
||||
###################################
|
||||
## Automations
|
||||
###################################
|
||||
## Doorbell Press
|
||||
# automation:
|
||||
# - alias: 'Log SkyBell Pressed Activity'
|
||||
# hide_entity: True
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id:
|
||||
# - binary_sensor.skybell_stone_door_button
|
||||
# to: 'on'
|
||||
# # - platform: event
|
||||
# # event_type: skybell_pressed
|
||||
#
|
||||
# condition:
|
||||
# - condition: template
|
||||
# value_template: >
|
||||
# {%- if states.binary_sensor.skybell_stone_door_button.attributes.last_triggered -%}
|
||||
# {{ (as_timestamp(now()) - as_timestamp(states.binary_sensor.skybell_stone_door_button.attributes.last_triggered)) > 200 }}
|
||||
# {%- else -%}
|
||||
# true
|
||||
# {%- endif -%}
|
||||
#
|
||||
# action:
|
||||
# - service: script.skybell_pressed
|
||||
# - service: script.tweet_engine
|
||||
# data_template:
|
||||
# tweet: >
|
||||
# {{ [
|
||||
# "Oh, that tickled. Someone just pressed the @MySkyBell.",
|
||||
# "Ouch! That hurt. Who touched the SkyBell Doorbell?",
|
||||
# "Someone just poked me in the @MySkybell!",
|
||||
# "I see you! You are at the @MySkyBell and you just pressed it.",
|
||||
# "Someone answer my door. Someone just pressed the doorbell."
|
||||
# ] | random + [
|
||||
# " #Security",
|
||||
# " (http://amzn.to/2dcexIB)",
|
||||
# " (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
|
||||
# " #HomeAutomation"
|
||||
# ] | random }}
|
||||
|
|
|
@ -75,9 +75,11 @@ group:
|
|||
- sensor.ha_uptime
|
||||
- sensor.since_last_boot_templated
|
||||
- sensor.disk_used_
|
||||
- sensor.database_sensor
|
||||
- sensor.speedtest_download
|
||||
- sensor.speedtest_upload
|
||||
- binary_sensor.carlowink
|
||||
- sensor.network
|
||||
- sensor.network_detail
|
||||
|
||||
# # Create full group with Loop!:
|
||||
|
|
|
@ -18,6 +18,8 @@ nest_client_id: secret_nest_client_id
|
|||
nest_client_secret: secretnestclientid
|
||||
neato_username: user@email.com
|
||||
neato_password: password
|
||||
mychevy_email: user@email.com
|
||||
mychevy_password: password
|
||||
large_garage_id: 00000000000000000000000
|
||||
small_garage_id: 00000000000000000000001
|
||||
garadget_username: user@email.com
|
||||
|
|
Loading…
Reference in New Issue