Difference between revisions of "Home Assistant"
(Add some resources suggested by hass) |
(Adding debug section as I try to configure home assistant tasmota integration) |
||
Line 2: | Line 2: | ||
This page is basically just some notes on how I installed and configured it. | This page is basically just some notes on how I installed and configured it. | ||
I'm installing on a Pine A64+ running Debian Stretch | I'm installing on a Pine A64+ running Debian Stretch | ||
+ | |||
+ | Years later 9/2/2021 maybe update this a bit. I've recently upgraded firmware on most of my Tasmota devices mostly Sonoff basic and D1 Mini. I'm trying to eleminate some yaml using the > v9.2 HA tasmota integration. These are notes mostly for me. You may find them helpful, or not. | ||
}} | }} | ||
+ | ==Home Assistant Tasmota Integration== | ||
+ | <pre> | ||
+ | HA version core-2021.9.0 I have a D1 mini that I've had configured in my garage to read a reed switch and to read two DS18B20s a HA automation will illuminate a light when a reed switch GPIO14 switchmode2 on the garage door indicates that garage door is open. This automation has been working a long time, long enough to have some very old firmware that didn't support the new > v9.2 discovery. I've updated the d1 mini to tasmota.bin version 9.5.0 it's reading the DS18B20s and I see MQTT activity when I open / close the garage door. The DS18B20s are discovered but not the switch ???, that is I don't see the switch trigger in the automation editor. I've tried with switchmod114 as 0 or 1. Also tried reloading the Tasmota integration. I've read the https://www.home-assistant.io/integrations/tasmota/ and https://tasmota.github.io/docs/Buttons-and-Switches/ perhaps I missed something? Any thoughts? | ||
+ | |||
+ | </pre> | ||
+ | ===Debugging=== | ||
+ | [[see; https://tasmota.github.io/docs/Buttons-and-Switches/#switchmode-15|SwitchMode1 15]] | ||
+ | |||
+ | SetOption19 0 - turn off mqtt discovery | ||
+ | |||
+ | SetOption114 1 - When [https://tasmota.github.io/docs/Buttons-and-Switches/#setoption114 SetOption114] 1 all switches are detached from their respective relays and will send MQTT messages instead in the form of {"Switch<x>":{"Action":"<state>"}}. | ||
+ | |||
+ | |||
+ | |||
+ | ===Resources / Documentation=== | ||
+ | https://www.home-assistant.io/integrations/tasmota/ | ||
+ | |||
+ | |||
+ | ==Other== | ||
[https://www.home-assistant.io/docs/installation/raspberry-pi/ Manual installation on a Raspberry Pi] "This guide is also referred to as the “Advanced Guide” for a virtual environment install." | [https://www.home-assistant.io/docs/installation/raspberry-pi/ Manual installation on a Raspberry Pi] "This guide is also referred to as the “Advanced Guide” for a virtual environment install." | ||
Revision as of 14:45, 3 September 2021
I'm taking a look at home assistant to aggregate all the IoT stuff I've made. This page is basically just some notes on how I installed and configured it. I'm installing on a Pine A64+ running Debian Stretch
Years later 9/2/2021 maybe update this a bit. I've recently upgraded firmware on most of my Tasmota devices mostly Sonoff basic and D1 Mini. I'm trying to eleminate some yaml using the > v9.2 HA tasmota integration. These are notes mostly for me. You may find them helpful, or not.
Home Assistant Tasmota Integration
HA version core-2021.9.0 I have a D1 mini that I've had configured in my garage to read a reed switch and to read two DS18B20s a HA automation will illuminate a light when a reed switch GPIO14 switchmode2 on the garage door indicates that garage door is open. This automation has been working a long time, long enough to have some very old firmware that didn't support the new > v9.2 discovery. I've updated the d1 mini to tasmota.bin version 9.5.0 it's reading the DS18B20s and I see MQTT activity when I open / close the garage door. The DS18B20s are discovered but not the switch ???, that is I don't see the switch trigger in the automation editor. I've tried with switchmod114 as 0 or 1. Also tried reloading the Tasmota integration. I've read the https://www.home-assistant.io/integrations/tasmota/ and https://tasmota.github.io/docs/Buttons-and-Switches/ perhaps I missed something? Any thoughts?
Debugging
SetOption19 0 - turn off mqtt discovery
SetOption114 1 - When SetOption114 1 all switches are detached from their respective relays and will send MQTT messages instead in the form of {"Switch<x>":{"Action":"<state>"}}.
Resources / Documentation
https://www.home-assistant.io/integrations/tasmota/
Other
Manual installation on a Raspberry Pi "This guide is also referred to as the “Advanced Guide” for a virtual environment install."
- Configuring Home Assistant: https://home-assistant.io/getting-started/configuration/
- Available components: https://home-assistant.io/components/
- Troubleshooting your configuration: https://home-assistant.io/getting-started/troubleshooting-configuration/
- Getting help: https://home-assistant.io/help/