Confused by setup of a remote (Fibaro)

Hi

I have paired all my ZWave devices with HA without problem and gave each one a friendly name :wink: I see also in States and Logbook data logged by these devices (sensors, PIR) but I’m very confused how to setup the 4 buttons wireless remote (Fibaro) I have. It’s well paired but how do I trigger something on buttons ? I added that in automation file but HA logs an error on it :frowning:

automation:
- alias: Telecommande Salon Carre Appui
  trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
      object_id: Teleco_4_Boutons
      scene_id: 1

Teleco_4_Boutons being friendly name of remote I gave in Zwave interface of HA :wink:

Thanks for help,

Vincèn

What is the error?

It completely refuses it stating automation is not recognised so I guess I made a stupid syntax error no ??
object_id is well supposed to be the name I gave at remote in ZWave setup right ?

What is the exact error message?

@BendedArrow here is:

2017-06-11 07:09:52 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [automation] is an invalid option for [automation]. Check: automation->automation. (See /home/homeassistant/.homeassistant/configuration.yaml, line 146). Please check the docs at https://home-assistant.io/components/automation/

Please provide the entire automation. If you’re using separate files, and including them from the main configuration.yaml, you need to remove the automation: line from the file you’re including.

1 Like

hum reading your message I guess I’m missing a step as that’s all I have done to handle that remote out of adding at ZWave network in HA.
I’m still lost at how ZWaves devices are configured in HA (for all other devices they could be discovered but I added them manually in my configuration file to be sure they are setup as I want but I don’t find anything similar for ZWave :frowning:

You said at the start that you’ve paired the devices, which is what you do so they’re “discovered”. There’s nothing more to do to add them so that HA can see them.

Your problem appears to be with your automation, but until you provide the information requested, we can’t help you.

1 Like

@Tinkerer Thanks for confirmation that pairing is all needed to add them to HA :+1:
For the automation the whole file is what I pasted here, no other includes or extra files :wink: I’m just completey lost how HA knows that remote named “Teleco_4_Boutons” is well the remote I want and not an other one of system ? Is it just by using same name as the one it has in ZWave setup ?

No one to help me understand what I’m missing ?

Thanks

The object_id value is unique, and can be found from the console log when you press any of the buttons.

However, the error comes from your automation entry, and because you’re not giving us any useful information we’re all just reduced to guessing. As I said before (with added emphasis)

Please provide the entire automation. If you’re using separate files, and including them from the main configuration.yaml, you need to remove the automation: line from the file you’re including.

@Tinkerer object_id is the node ? here is what I have in logs when I push buttons of my Fibaro remote:

2017-06-18 12:07:12.748 Info, Node009, Received Central Scene set from node 9: scene id=1 in 7680 seconds. Sending event notification.
2017-06-18 12:07:12.748 Warning, Node009, No ValueID created for Scene 1
2017-06-18 12:07:13.527 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0xa1, 0x80, 0x01, 0x84
2017-06-18 12:07:13.528 Detail, 
2017-06-18 12:07:13.528 Info, Node009, Received Central Scene set from node 9: scene id=1 in 7680 seconds. Sending event notification.
2017-06-18 12:07:13.528 Warning, Node009, No ValueID created for Scene 1
2017-06-18 12:07:14.235 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0xa2, 0x80, 0x02, 0x84
2017-06-18 12:07:14.235 Detail, 
2017-06-18 12:07:14.235 Info, Node009, Received Central Scene set from node 9: scene id=2 in 7680 seconds. Sending event notification.
2017-06-18 12:07:14.236 Warning, Node009, No ValueID created for Scene 2
2017-06-18 12:07:14.728 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0xa3, 0x80, 0x02, 0x85
2017-06-18 12:07:14.728 Detail, 
2017-06-18 12:07:14.728 Info, Node009, Received Central Scene set from node 9: scene id=2 in 7680 seconds. Sending event notification.
2017-06-18 12:07:14.728 Warning, Node009, No ValueID created for Scene 2
2017-06-18 12:07:15.059 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0xa4, 0x80, 0x02, 0x82
2017-06-18 12:07:15.059 Detail,  

Concerning the automation sorry but what I sent you previously is the whole automation I have (my first one and I wanted to do it with my ZWave devices :wink: I don’t have separate files for automation, I have the configuration file of HASS but for ZWave it just includes the USB port declaration and that’s all ! Let me know if I’m still missing something obvious here :wink:

That’s not yet supported by Open Z-Wave, so not yet supported by Home Assistant. You need to change the remote so it’s no longer using Central Scene mode.

Also, that’s the OpenZWave log, not the console log. If you installed with the All In One installer, then journalctl -f -u home-assistant will give you that log. If you used a different approach, tell us how you installed it.

You’re missing giving us the entire configuration.yaml file then.

@Tinkerer Thanks for info about the remote so will check the Fibaro manual to change mode on it !
For the console log is it same thing as the log displayed by Hass when clicking the i in a round in web interface ? If so I found nothing in it happening around time I pushed buttons on my remote :frowning:

I’ll post the configuration file when I’m back at home :slight_smile:

@vincen you need to look at the OpenZwave log by changing to your home assistant configuration directory and doing this:

tail -f OZW_Log.txt

Please find below my configuration file (obfuscated confidential datas in it :wink:
I’m still trying to figure out how to change the mode of my Fibaro remote !

Thanks

  homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: XX.18370420000001
  longitude: X.721938899999941
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 204
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Paris

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

camera:
  - platform: generic
still_image_url: http://www.les7laux.com/~webcam/webcam3.jpg
name: Prapoutel
  - platform: generic
still_image_url: http://www.les7laux.com/~webcam/webcam8.jpg
name: Oursieres

zwave:
  usb_path: /dev/ttyACM0

http:
  # Uncomment this to add a password (recommended!)
  api_password: stauiestruie  
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123

updater:

discovery:
  ignore:
- roku
- plex_mediaserver
conversation:

history:

logbook:

weather:
  - platform: openweathermap
api_key: srutiesrtauie
latitude: XX.18370420000001
longitude:XX.721938899999941

sensor:
  - platform: bitcoin
currency: EUR
display_options:
  - exchangerate
  - platform: time_date
display_options:
  - 'time'
  - 'date'

tts:
  platform: google

media_player:
  - platform: samsungtv
host: 192.168.1.10
name: TV
mac: F4:7B:5E:B5:28:BB
  - platform: onkyo
host: 192.168.1.17
name: Ampli
  - platform: plex
scan_interval: 3
show_all_controls: true

device_tracker:
  - platform: owntracks
max_gps_accuracy: 1000
notify:
  - name: Free_Mobile
platform: free_mobile
username: 12345678
access_token: abcdefghi

mqtt:
  broker: 127.0.0.1
  port: 1883
  client_id: mqtt
  username: beep
  password: secret
#  discovery: true
  discovery_prefix: mqtt

zone:
  name: Home
  icon: mdi:home
  latitude: XX.183954
  longitude: X.721917
  radius: 30

homeassistant.components.mqtt: debug

group: !include groups.yaml
automation: !include automations.yaml

You are using a separate file for your automation, and you need to remove the automation: line from automations.yaml.

@Tinkerer thanks so I removed the extra line in automations file but I still get that error when reloading automation file:

2017-06-23 08:45:37 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 146). Please check the docs at https://home-assistant.io/components/automation/

Side note: I resetted my Fibaro keyfob and repaired it in ZWave but it looks like it’s still sending the incompatible commands no ?

2017-06-23 09:29:49.134 Info, Node011, Received Central Scene set from node 11: scene id=4 in 7680 seconds. Sending event notification.
2017-06-23 09:29:49.135 Warning, Node011, No ValueID created for Scene 4
2017-06-23 09:29:49.742 Detail, Node011,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0b, 0x05, 0x5b, 0x03, 0x09, 0x80, 0x03, 0x2c

If the code you posted up the top is your entire automation, you’re missing a crucial part of it:

What do you actually want it to do?

You have a trigger (when this happens do an action), but no action to do. Hence the error.

@anon43302295 Thanks for help so I better understand now and will have to test with an other device as I discovered the remote I have is not compatible for now with HASS (Central Scene Set mode not yet handled by Open ZWave :frowning: