Hi
Fresh install of the latest version of HA on my Odroid XU-4
Mosqito broker and Zigbee2Mqtt addon installed
I have put this script from the git of the zigbee2mqtt project :
mqtt:
broker: core-mosquitto # This will have to be your mqtt broker, Mosquitto addon is recommended.
discovery: true
input_boolean:
zigbee_permit_join:
name: Allow devices to join
initial: off
icon: mdi:cellphone-wireless
timer:
zigbee_permit_join:
name: Time remaining
duration: 600 # Updated this to the number of seconds you wish
sensor:
- platform: mqtt
name: Bridge state
state_topic: "zigbee2mqtt/bridge/state"
icon: mdi:router-wireless
automation:
- id: enable_zigbee_join
alias: Enable Zigbee joining
trigger:
platform: state
entity_id: input_boolean.zigbee_permit_join
to: 'on'
action:
- service: mqtt.publish
data:
topic: zigbee2mqtt/bridge/config/permit_join
payload: 'true'
- service: timer.start
data:
entity_id: timer.zigbee_permit_join
- id: disable_zigbee_join
alias: Disable Zigbee joining
trigger:
- entity_id: input_boolean.zigbee_permit_join
platform: state
to: 'off'
action:
- data:
payload: 'false'
topic: zigbee2mqtt/bridge/config/permit_join
service: mqtt.publish
- data:
entity_id: timer.zigbee_permit_join
service: timer.cancel
- id: disable_zigbee_join_timer
alias: Disable Zigbee joining by timer
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.zigbee_permit_join
action:
- service: mqtt.publish
data:
topic: zigbee2mqtt/bridge/config/permit_join
payload: 'false'
- service: input_boolean.turn_off
data:
entity_id: input_boolean.zigbee_permit_join
But nothing happen when I click on join⌠I cannot pair any of my zigbee devices
Hereâs my zigbee2mqtt log :
Blockquote
[s6-init] making user provided files available at /var/run/s6/etcâŚexited 0.
[s6-init] ensuring user provided files have correct permsâŚexited 0.
[fix-attrs.d] applying ownership & permissions fixesâŚ
[fix-attrs.d] done.
[cont-init.d] executing container initialization scriptsâŚ
[cont-init.d] done.
[services.d] starting services
[services.d] done.
./run.sh: line 17: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-03-10T12:57:59: PM2 log: Launching in no daemon mode
2020-03-10T12:57:59: PM2 log: App [npm:0] starting in -fork mode-
2020-03-10T12:57:59: PM2 log: App [npm:0] online
[email protected] start /zigbee2mqtt-1.11.0
node index.js
zigbee2mqtt:info 2020-03-10 12:58:03: Logging to console and directory: â/share/zigbee2mqtt/log/2020-03-10.12-58-02â filename: log.txt
zigbee2mqtt:info 2020-03-10 12:58:03: Starting zigbee2mqtt version 1.11.0 (commit #unknown)
zigbee2mqtt:info 2020-03-10 12:58:03: Starting zigbee-herdsmanâŚ
zigbee2mqtt:info 2020-03-10 12:58:05: zigbee-herdsman started
zigbee2mqtt:info 2020-03-10 12:58:05: Coordinator firmware version: â{âtypeâ:âzStack12â,âmetaâ:{âtransportrevâ:2,âproductâ:0,âmajorrelâ:2,âminorrelâ:6,âmaintrelâ:3,ârevisionâ:20190608}}â
zigbee2mqtt:info 2020-03-10 12:58:05: Currently 0 devices are joined:
zigbee2mqtt:info 2020-03-10 12:58:05: Zigbee: disabling joining new devices.
zigbee2mqtt:info 2020-03-10 12:58:05: Connecting to MQTT server at mqtt://core-mosquitto
zigbee2mqtt:info 2020-03-10 12:58:05: Connected to MQTT server
zigbee2mqtt:info 2020-03-10 12:58:05: MQTT publish: topic âzigbee2mqtt/bridge/stateâ, payload âonlineâ
zigbee2mqtt:info 2020-03-10 12:58:06: MQTT publish: topic âzigbee2mqtt/bridge/configâ, payload â{âversionâ:â1.11.0â,âcommitâ:âunknownâ,âcoordinatorâ:{âtypeâ:âzStack12â,âmetaâ:{âtransportrevâ:2,âproductâ:0,âmajorrelâ:2,âminorrelâ:6,âmaintrelâ:3,ârevisionâ:20190608}},âlog_levelâ:âinfoâ,âpermit_joinâ:false}â
Any ideas ?
Thanks