Hi,
Still quite new with HA, since around 2-3 month…
Installed ZigBee2MQTT with a Sonoff Dongle E yesterday and included my first device for testing (IKEA switch plug E1603_E1702_E1708) and it looks to work fine!
I read a lot and watched some hours of guides in advanced…
I mainly used this guide: Home Assistant, how to setup with IKEA Zigbee Devices (TRADFRI and SYMFONISK) and Zigbee2MQTT -Part1 - YouTube
Then some others for changing channel, Network ID and Pan-ID.
Part 2 of the guide above, Home Assistant, how to setup IKEA Zigbee Remotes (TRADFRI and SYMFONISK) with Node Red - YouTube, shows how to manually define sensors for all ZigBee units.
For the IKEA plug, he configures like this while showing how to control the plug, an IKEA dim remote and an IKEA multi remote in Node Red. (He also configures corresponding sensors for the remotes):
TRÅDFRI Wireless Control Outlet
Name Used: Plug1
switch:
- platform: "mqtt"
name: "Plug 1 Switch"
state_topic: "zigbee2mqtt/plug1"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/plug1/set"
sensor:
- platform: "mqtt"
name: "Plug 1 Signal"
state_topic: "zigbee2mqtt/plug1"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:signal"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
binary_sensor:
- platform: "mqtt"
name: "Plug 1 Update Available"
state_topic: "zigbee2mqtt/plug1"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
When I look at the device in the ZigBee Broker, there are 7 entities, including 4 disabled sensors:
I don’t really understand if this is needed and for what…?
I tried to control my ZigBee plug from Node Red and I could control it with a Call Service Node
I could also use Current State Node to react on ZigBee plug state changes.
What’s the difference of these disabled sensors in the Broker, from the ones he configures in configuration.yaml?
I plan to pair some IKEA Trådfri dim remote (think it’s E1743) and some IKEA Styrbar (E2001/E2002) and some bulbs and I plan to use Node Red.
Do I need to manually configure sensors for these and what for?
Is there some more detailed general guide for what to configure for switches, remotes and light bulbs?
Can someone explain to me?