@henry8866 wrote:
Saw this remote controlled LED at Costco… Just curious if remote can be integrated to HA? then we can control those LED bar from HA?
Posts: 4
Participants: 3
@henry8866 wrote:
Saw this remote controlled LED at Costco… Just curious if remote can be integrated to HA? then we can control those LED bar from HA?
Posts: 4
Participants: 3
@sillyfrog wrote:
I’m fairly new to HA, and have created a few automations OK via YAML, but wanted to give the UI a go, but not having any luck.
What I have found so far is that it will write to the
automations.yaml
file, and there is a correspondingautomation: !include automations.yaml
in myconfiguration.yaml
. However the UI never shows any automations I have added, nor does it execute them (best I can tell). I have tried emptying outautomations.yaml
and adding in a new simple rule, and still have the same issue.I’m running in docker, and have done a pull just now to the latest stable (v0.104.3, Frontend version: 20200108.2 - latest). I have tried in both the latest Firefox and Chrome.
Does anyone have any pointers? I have tried looking in the forums and not found anything, but I think I’m searching for the wrong search terms or something.
There may also be something in the logs, but not sure what to search for (I have tried things like the name of the rules, the id of the rules as written to the
automations.yaml
and for the any mention ofautomations.yaml
).Thanks.
Posts: 1
Participants: 1
@Yoinkz wrote:
Hi,
So I got this Nanoleaf light and I must say that I’m pretty happy about it. Good quality and very nice light for ambient in the living room. I’ve read that it was possible to integrate with Home Assistant, which was why I bought it, but now I’m struggling with the Token part.
I followed the guide:
But I don’t get anything else than Error 401 and 403. So far I’ve tried from the terminal on my Mac, but also with the Postman software on my Windows machine. No luck! The LED on the Nanoleaf does flash as described, when I fire the command.
What am I doing wrong
Posts: 1
Participants: 1
@fuzzymistborn wrote:
I just finished installing a Zooz Zen24 dimmer and it appears to be ignoring the ramp up/down that I’ve set via parameter 9. When i manually toggle the switch it behaves as it should, but when toggling the switch via the HASS UI or even as a service call and using “transition” it just goes instantly to the value i set. Is there something I’m missing?
Posts: 5
Participants: 2
@jsprenkle wrote:
I’d like to turn down my LUX KONO thermostat at night. When creating the automation from the web control panel the only action available is changing the mode of the thermostat (heat/cool/auto). I’d like to change the temperature setting.
I can change the temperature from the web overview panel. It must be exposing that control somewhere.
The thermostat is connected as a home kit accessory device.
The system is a raspberry pi 3b+ with hass.io on flash.
Any suggestions?
Is the temperature a ‘property’ of the device not an ‘action?’ Is this system modeled after object oriented design with properties and methods?
Thanks
Posts: 3
Participants: 2
@ha_steve wrote:
I have not been having success getting one of the samsung smartthings buttons to work with HA. I have the HUSBZB-1 stick. I can pair the device and it shows up in HA. I then go to the dev page and listen to “zha_events”
I will get an event for button presses for about 2-3 min, then I get an error in the HA a logs:
2020-01-28 18:33:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 193, in request result = await asyncio.wait_for(req.result, timeout) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for raise futures.TimeoutError() concurrent.futures._base.TimeoutError 2020-01-28 18:33:31 ERROR (MainThread) [zigpy.device] Failed ZDO request during device initialization: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 88, in _initialize epr = await self.zdo.Active_EP_req(self.nwk, tries=3, delay=2) File "/usr/local/lib/python3.7/site-packages/zigpy/util.py", line 88, in retry r = await func() File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 193, in request result = await asyncio.wait_for(req.result, timeout) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for raise futures.TimeoutError() concurrent.futures._base.TimeoutError
After that, it doesn’t register any button presses. If I remove and re-add the button, the same thing happens all over. Works for a few presses, then nothing.
Posts: 1
Participants: 1
@stfs wrote:
I picked up a one-key scene controller (HKZW-SCN01) based on price, minimalist design, and the fact that other users seem to have gotten it working for them, but I’m not able to get it up and running to the point where it can be functional.
It has been successfully added to the Z-Wave network, and pressing the button does increase receivedCnt, receivedDups, sentTS and receivedTS. The only entity for the device is the battery level (and itself).
Following https://www.home-assistant.io/docs/z-wave/device-specific/ I replaced all entries with COMMAND_CLASS_CENTRAL_SCENE (3 in total) so that they are now:
<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="1" innif="true" scenecount="0"> <Instance index="1" /> <Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> <Value type="int" genre="system" instance="1" index="1" label="Button One" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> </CommandClass>
I’m attempting to use the following automation as a test:
alias: Hank description: '' trigger: - event_data: entity_id: zwave.hank_electronics_ltd_unknown_type_0201_id_0009 scene_id: 1 event_type: zwave.scene_activated platform: event condition: [] action: - data: message: hank service: notify.me
Triggering the automation in the UI does enable the action, but pressing the button on the controller itself does not work, and does not show up in the logbook either.
I’ve reached the end of my skill set (keyword searches and copy/paste); the latest thread where someone seems to have gotten it working for them was in early 2018, does anyone have some updated advice? Thank you!
Posts: 2
Participants: 2
@SteveDinn wrote:
I’ve written a small wrapper script that calls decode-config.py that backs up a TASMOTA device’s configuration. I’d like to be able to call it from a
shell_command
while passing a few parameters to it to target a specific device.When I call this:
shell_command: tasmota_backup: '/srv/hass/bin/python "/home/hass/config/python_scripts/tasmota_backup.py" "{{ ip_address }}" "{{ mac_address }}" "{{ friendly_name }}" "{{ tasmota_username }}" "{{ tasmota_password }}"'
like this
- service: shell_command.tasmota_backup data_template: ip_address: > {%- set device_name = trigger.topic.split('/')[1] -%} {{ state_attr('sensor.tasmota_' + (device_name | lower), 'ip_address') }} mac_address: > {%- set device_name = trigger.topic.split('/')[1] -%} {{ state_attr('sensor.tasmota_' + (device_name | lower), 'mac_address') }} friendly_name: > {%- set device_name = trigger.topic.split('/')[1] -%} {{ state_attr('sensor.tasmota_' + (device_name | lower), 'friendly_name') }} tasmota_username: !secret tasmota_username tasmota_password: !secret tasmota_password
I can see in the debug log that all the parameters are passed exactly as they are in the
shell_command
. I.e., the templates are not interpreted. The documentation says this:I think I’m doing it right, but it seems to not work as intended.
Posts: 1
Participants: 1
@xbmcnut wrote:
Hey there,
I’ve just switched power companies and I’m now on two tiers, off-peak 1100-1700 and 2100-0700 Mon to Friday and all weekend. To leverage the cheap power, I want to tweak my automation below so I always get 8 hours of pool pump operation but only between the off-peak hours.
Anyone know how to modify my scripts to check for those time and days?
- alias: 'Check Pool Pump in Season' initial_state: true hide_entity: true trigger: - platform: time_pattern minutes: '/2' # seconds: 00 condition: - condition: time after: '11:00:00' before: '16:55:00' - condition: state entity_id: input_select.pool_pump state: Auto - condition: state entity_id: input_boolean.swimming_season state: 'on' - alias: 'Pool Pump Off 1700' initial_state: true hide_entity: true trigger: - platform: time at: '17:00:00' condition: - condition: state entity_id: input_boolean.swimming_season state: 'on' - condition: state entity_id: input_select.pool_pump state: Auto action: service: homeassistant.turn_off entity_id: switch.pool_pump
Posts: 8
Participants: 3
@SylvainGa wrote:
So I have this automation that turns on a dim light at night when it detects movement and no lights are on. The light turns back off after a minute when a timer expires. Also, that timer is cleared if the light is turned off then on (ie, stops that timer from turning off the light).
It’s working like I want but now I also want to clear that timer if the light intensity is manually changed (it’s connected to a smart dimmer). How do set up an automation trigger on a dimmer change? I Googled it and couldn’t find how to do it.
Thanks
Posts: 1
Participants: 1
@fribse wrote:
For the last few weeks I’ve seen more and more ‘freezes’ when I access my HA through nabu casa.
Especially when I change / add automations and restart HA.
I can’t figure out if it’s related to a problem on nabu casa or if it’s a problem with using HA through firefox.
Posts: 2
Participants: 2
@weaverprojects wrote:
hi I’m using the Homekit-panel-card with the popup card. is it possible to show a switch to open and close the garage door?
this is my code:
actions: - icon: 'mdi:garage-open' name: open service: cover.open_cover service_data: entity_id: this - icon: 'mdi:garage' name: close service: cover.close_cover service_data: entity_id: this actionsInARow: 2 entities: - entities: - double_tap_action: action: more-info entity: cover.garage_door name: Garage popup: type: 'custom:cover-popup-card' sliderService: cover.set_cover_position title: Garage type: 'custom:homekit-card'
Posts: 1
Participants: 1
@devtech8 wrote:
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
Posts: 1
Participants: 1
@Ekstrom wrote:
Hi!
Is it possible to make a card double the size?
I know about horizontal-stack but that just make cards half the size.Best Regards
Posts: 1
Participants: 1
@jenova70 wrote:
Hello guys,
I think my question is more a generic ZWave question since I am just starting but nevertheless I will explain you what I am experiencing !
I am available if you want logs for each use-cases I am describing below.
So the past two days I fiddled with ZWave to make my first Zwave “network” composed of two nodes
I finally managed to reach a “usable” state, but I have issue of update / reporting…
With the physical button I can:
- Fully open the rolling shutter by clicking the up button
- Fully close the rolling shutter by clicking the down button
- If I click any button during a movement, I can also stop the rolling shutter at the current position
And in Home Assistant via the services I can:
- open fully via cover.open_cover
- close fully via cover.close_cover
- stop the movement via cover.stop_cover
- set the rolling shutter at a specific position via cover.set_cover_position
The issue :
Basically, only stopping the cover (Either via physical click or via cover.stop_cover) is updating the position / state back in home assistant…
- If I open / close fully the shutter (Physically or via home assistant service), the position / state is not updated …
- If I set a specific position via cover.set_cover_position, the position / state is not updated …
How can I debug this ?
Where do I start ?
I tried to read the OZW_log but I do not understand what is wrong…Thank you in advance !
JLPThis are my OWZ_log when I click on TEST NETWORK in the configuration tab of hassio
2020-01-29 09:08:53.247 Info, Node004, NoOperation::Set - Routing=true 2020-01-29 09:08:53.247 Detail, Node004, Queuing (NoOp) NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0xb5, 0x73 2020-01-29 09:08:53.247 Detail, 2020-01-29 09:08:53.248 Info, Node004, Sending (NoOp) message (Callback ID=0xb5, Expected Reply=0x13) - NoOperation_Set (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x00, 0x00, 0x25, 0xb5, 0x73 2020-01-29 09:08:53.258 Detail, Node004, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2020-01-29 09:08:53.259 Detail, Node004, ZW_SEND_DATA delivered to Z-Wave stack 2020-01-29 09:08:53.272 Detail, Node004, Received: 0x01, 0x07, 0x00, 0x13, 0xb5, 0x00, 0x00, 0x02, 0x5c 2020-01-29 09:08:53.273 Detail, Node004, ZW_SEND_DATA Request with callback ID 0xb5 received (expected 0xb5) 2020-01-29 09:08:53.273 Info, Node004, Request RTT 24 Average Request RTT 57 2020-01-29 09:08:53.273 Detail, Expected callbackId was received 2020-01-29 09:08:53.273 Detail, Expected reply was received 2020-01-29 09:08:53.273 Detail, Message transaction complete 2020-01-29 09:08:53.273 Detail, 2020-01-29 09:08:53.273 Detail, Node004, Removing current message 2020-01-29 09:08:53.273 Detail, Node004, Notification: Notification - NoOperation
Posts: 1
Participants: 1
@oldsap wrote:
i created a sensor in my sensor.yaml file like this:
platform: mqtt
state_topic: “maindoor/lastopened”
name: maindoorlastopenedi want sensor.maindoorlastopened to show the last time the door sensor was triggered using mqtt.publish. how do i go about doing it? thank you
Posts: 2
Participants: 2
@mee wrote:
Good morning everyone,
I’m just new to HA, so i try to give you all information needed. Let me know if you miss something.
On my raspberry pi 3b I have a ConBee 2 stick connected and Raspbian running. I installed HA using this guide : https://www.home-assistant.io/docs/installation/raspberry-pi/
I managed to integrate my Denon AVR x1500h via Wifi (HEOS was listed under discovered integrations).
But for some reasons I cant control it, not even turn it on.I wrote this script:
entity_id: media_player.denon service: media_player.turn_on
Nothing happens and there is no Log entry ;(
Anyone has an idea how to fix it?
It is also bindet in Alexa via HEOS skill.Thanks a lot!
Posts: 2
Participants: 2
@django wrote:
Hi,
i have several Somfy RTS Covers implemented from FHEM via MQTT to HASSIO.
I can control the covers (up, down, stop) and i get the state (open. closed) from the covers.
So far so good…
But i also get the following messages in the Log-Viewer:2020-01-29 16:59:01 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: undefined
2020-01-29 16:59:01 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: down
2020-01-29 16:59:02 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: undefinedIt doesn’t really hurt me, but i want to understand why this error appaer.
Here is the definition of one cover:
- platform: mqtt
state_topic: “/FHEM/OG_Luna/Rolladen_LUNA/state”
command_topic: “/Service/fhem/cmnd”
name: “Rolladen_LUNA”
qos: 1
retain: true
payload_open: “set Rolladen_LUNA off”
payload_close: “set Rolladen_LUNA on”
payload_stop: “set Rolladen_LUNA stop”
state_open: “open”
state_closed: “closed”
optimistic: falseThanks for helping me out.
Posts: 2
Participants: 2
@ciB wrote:
I’m using the SXJ02ZM xiaomi all white camera with the openfang hack (https://github.com/anmaped/openfang). I have multiple problems which I don’t know how to deal with. My setup in my config is as follows:
stream: camera: - platform: generic name: "Palantir" still_image_url: https://192.168.0.39/cgi-bin/currentpic.cgi stream_source: rtsp://192.168.0.39:8554/unicast verify_ssl: false
In this setup I get a preview image and the rtsp stream without any issues in lovelace (also with preview). When I try to record/snapshot it does not work though and most likely crash my rtsp stream/cam. When I try to stream it to my chromecast my image stays black on my chromecast after a loading screen.
Since openfang uses some encryption I also tried to enable
verify_ssl: true
. That resulted in the preview image not being shown anymore, the stream itself still worked. When I now try to record I get the message that it is already recording, although it never finishes/creates a file. The snapshot still does not work. When checking the logs I can find the following error:2020-01-29 18:45:30 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image: Cannot connect to host 192.168.0.39:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1076)')] 2020-01-29 18:45:30 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2889301296] a bytes-like object is required, not 'NoneType' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1226, in async_call await asyncio.shield(self._execute_service(handler, service_call)) File "/usr/src/homeassistant/homeassistant/core.py", line 1251, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in handle_service self._platforms.values(), func, call, service_name, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 335, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 359, in _handle_service_platform_call await func(entity, data) File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 658, in async_handle_snapshot_service await hass.async_add_executor_job(_write_image, snapshot_file, image) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 655, in _write_image img_file.write(image_data) TypeError: a bytes-like object is required, not 'NoneType' 2020-01-29 18:45:37 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image: Cannot connect to host 192.168.0.39:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1076)')]
Unfortunately I have no idea how to set this up correctly. Having the rtsp stream working is nice, but not being able to record/take snapshots is kinda stupid. I also don’t really understand how the “preview” is working (since this is basically saving the stream) but actually recording something does not work.
Any help would be appreciated.
Posts: 1
Participants: 1
@fribse wrote:
Hi All
I’ve created this nifty illustration of the state of a window. The window also has a blind, but if the window is open, the blind shouldn’t close as that will mess it up.
So I was wondering if there was a way to disable that?
It’s not a problem to roll the blind up if the window is open, so I can’t just make a conditional and hide the ‘cover’ controls.cards: - type: entities entities: - entity: cover.rullegardin_i_sovevaerelse - entity: binary_sensor.bedroomwindow image: /local/samsung0.jpg show_name: false show_state: false state_image: 'off': /local/window/close.png 'on': /local/window/open.png type: picture-entity type: vertical-stack
![]()
Posts: 6
Participants: 3