Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
  1. Home
  2. Software
  3. Multi-System Reactor
  4. [Dev] Inheritance in MQTT templates?
How to upgrade from an old version of MSR?
cw-kidC
Hello I haven't updated my installation of MSR in a very long time. Its a bare metal Linux install currently on version 24366-3de60836 I see the latest version is now latest-26011-c621bbc7 I assume I cannot just jump from a very old version to the latest version? Or can I? Thanks
Multi-System Reactor
This trigger no longer working - complaining about the operator needing changing
cw-kidC
Topic thumbnail image
Multi-System Reactor
Can you run MSR on Home Assistant OS ?
cw-kidC
Looking at using Home Assistant for the first time, either on a Home Assistant Green, their own hardware or buying a cheap second hand mini PC. Sounds like Home Assistant OS is linux based using Docker for HA etc. Would I also be able to install things like MSR as well on their OS ? On the same box? Thanks.
Multi-System Reactor
Self test
CatmanV2C
Having been messing around with some stuff I worked a way to self trigger some tests that I wanted to do on the HA <> MSR integration This got me wondering if there's an entity that changes state / is exposed when a configured controller goes off line? I can't see one but thought it might be hidden or something? Cheers C
Multi-System Reactor
Access control - allowing anonymous user to dashboard
tunnusT
Using build 25328 and having the following users.yaml configuration: users: # This section defines your valid users. admin: ******* groups: # This section defines your user groups. Optionally, it defines application # and API access restrictions (ACLs) for the group. Users may belong to # more than one group. Again, no required or special groups here. admin_group: users: - admin applications: true # special form allows access to ALL applications guests: users: "*" applications: - dashboard api_acls: # This ACL allows users in the "admin" group to access the API - url: "/api" group: admin_group allow: true log: true # This ACL allows anyone/thing to access the /api/v1/alive API endpoint - url: "/api/v1/alive" allow: true session: timeout: 7200 # (seconds) rolling: true # activity extends timeout when true # If log_acls is true, the selected ACL for every API access is logged. log_acls: true # If debug_acls is true, even more information about ACL selection is logged. debug_acls: true My goal is to allow anonymous user to dashboard, but MSR is still asking for a password when trying to access that. Nothing in the logs related to dashboard access. Probably an error in the configuration, but help needed to find that. Tried to put url: "/dashboard" under api_acls, but that was a long shot and didn't work.
Multi-System Reactor
VEC Virtual Switch Auto Off
S
I use Virtual Entity Controller virtual switches which I turn on via webhooks from other applications. Once a switch triggers and turns on, I can then activate associated rules. I would like each virtual switch to automatically turn off after a configurable time (e.g., 5 seconds, 10 seconds). Is there a better way to achieve this auto-off behavior instead of creating a separate rule for each switch that uses the 'Condition must be sustained for' option to turn it off? With a large number of these switches (and the associated turn-off rules), I'm checking to see if there is a simpler approach.If not, could this be a feature request to add an auto-off timer directly to the virtual switches. Thanks Reactor (Multi-hub) latest-26011-c621bbc7 VirtualEntityController v25356 Synology Docker
Multi-System Reactor
Upcoming Storage Change -- Got Back-ups?
toggledbitsT
TL;DR: Format of data in storage directory will soon change. Make sure you are backing up the contents of that directory in its entirety, and you preserve your backups for an extended period, particularly the backup you take right before upgrading to the build containing this change (date of that is still to be determined, but soon). The old data format will remain readable (so you'll be able to read your pre-change backups) for the foreseeable future. In support of a number of other changes in the works, I have found it necessary to change the storage format for Reactor objects in storage at the physical level. Until now, plain, standard JSON has been used to store the data (everything under the storage directory). This has served well, but has a few limitations, including no real support for native JavaScript objects like Date, Map, Set, and others. It also is unable to store data that contains "loops" — objects that reference themselves in some way. I'm not sure exactly when, but in the not-too-distant future I will publish a build using the new data format. It will automatically convert existing JSON data to the new format. For the moment, it will save data in both the new format and the old JSON format, preferring the former when loading data from storage. I have been running my own home with this new format for several months, and have no issues with data loss or corruption. A few other things to know: If you are not already backing up your storage directory, you should be. At a minimum, back this directory up every time you make big changes to your Rules, Reactions, etc. Your existing JSON-format backups will continue to be readable for the long-term (years). The code that loads data from these files looks for the new file format first (which will have a .dval suffix), and if not found, will happily read (and convert) a same-basenamed .json file (i.e. it looks for ruleid.dval first, and if it doesn't find it, it tries to load ruleid.json). I'll publish detailed instructions for restoring from old backups when the build is posted (it's easy). The new .dval files are not directly human-readable or editable as easily as the old .json files. A new utility will be provided in the tools directory to convert .dval data to .json format, which you can then read or edit if you find that necessary. However, that may not work for all future data, as my intent is to make more native JavaScript objects directly storable, and many of those objects cannot be stored in JSON. You may need to modify your backup tools/scripts to pick up the new files: if you explicitly name .json files (rather than just specifying the entire storage directory) in your backup configuration, you will need to add .dval files to get a complete, accurate backup. I don't think this will be an issue for any of you; I imagine that you're all just backing up the entire contents of storage regardless of format/name, that is the safest (and IMO most correct) way to go (if that's not what you're doing, consider changing your approach). The current code stores the data in both the .dval form and the .json form to hedge against any real-world problems I don't encounter in my own use. Some future build will drop this redundancy (i.e. save only to .dval form). However, the read code for the .json form will remain in any case. This applies only to persistent storage that Reactor creates and controls under the storage tree. All other JSON data files (e.g. device data for Controllers) are unaffected by this change and will remain in that form. YAML files are also unaffected by this change. This thread is open for any questions or concerns.
Multi-System Reactor
Oddness in Copy/Move of Reactions
G
Topic thumbnail image
Multi-System Reactor
[Solved] function isRuleEnabled() issue
CrilleC
Topic thumbnail image
Multi-System Reactor
[Reactor] Problem with Global Reactions and groups
therealdbT
Topic thumbnail image
Multi-System Reactor
Possible feature request 2?
CatmanV2C
Just another thought. Adding devices from my Home Assistant / Zigbee2MQTT integration. Works perfectly but they always add as their IEEE address. Some of these devices have up to 10 entities associated, and the moment they are renamed to something sensible, each of those entities 'ceases to exist' in MSR. I like things tidy, and deleting each defunct entity needs 3 clicks. Any chance of a 'bulk delete' option? No biggy as I've pretty much finished my Z-wave migration and I don't expect to be adding more than 2 new Zigbee devices Cheers C
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Copying a global reaction
tunnusT
With build 25328, if you copy a global reaction, a new reaction does not appear in the UI unless you do a refresh. I recall this used to work without needing this page refresh? Anyway, only a minor nuisance.
Multi-System Reactor
[Reactor] Bug when sending MQTT boolean payloads
therealdbT
Topic thumbnail image
Multi-System Reactor
Difficulty defining repeating annual period
R
I have tried numerous ways to define a recurring annual period, for example from December 15 to January 15. No matter which method I try - after and before, between, after and/not after, Reactor reports "waiting for invalid date, invalid date. Some constructs also seem to cause Reactor to hang, timeout and restart. For example "before January 15 is evaluated as true, but reports "waiting for invalid date, invalid date". Does anyone have a tried and true method to define a recurring annual period? I think the "between" that I used successfully in the past may have broken with one of the updates.
Multi-System Reactor
Need help with sequence
T
Good evening all, For about the past week or so, I've been having problems with a specific rule in my home automation that controls when my home goes from an Away mode to Home mode. One of the conditions it checked for was my alarm panel, when it changed from Armed Away to Disarmed. There seems to have been a firmware update on the panel that added an intermittent step of "pending", and I can't say for certain it happens 100% of the time. Is there a way to write a condition that so it changes from one condition, to the next, and then another condition? As in, Home alarm changes from armed_away to pending to disarmed. Thanks.
Multi-System Reactor
Possible feature request?
CatmanV2C
No idea how easy this would be. During my migration away from Z-wave I've been replacing the Z-wave devices with Sonoff which has broken some of my automations. Any chance of a 'Test Reaction' function to call out which ones are broken because an entity no longer exists? Without actually running the reaction? Or does this exist already and I'm just not aware of how to do it? Obviously I can see entities that are no longer available, but not quite what I'm looking for. I guess it's something of an edge case so no huge issue. TIA! C
Multi-System Reactor
Logic Assistance: Exterior Lights on when Illuminance Below Threshold
PablaP
Topic thumbnail image
Multi-System Reactor
Time series documentation
tunnusT
Is the current manual (incl. examples) up to date with how retention value is handled in time series configuration? Referring to this post
Multi-System Reactor
MQTT templates for ZIgbee scene controller, or a better way?
CatmanV2C
Topic thumbnail image
Multi-System Reactor

[Dev] Inheritance in MQTT templates?

Scheduled Pinned Locked Moved Multi-System Reactor
40 Posts 4 Posters 8.9k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • toggledbitsT toggledbits

    Yes, it's possible.

    CrilleC Offline
    CrilleC Offline
    Crille
    wrote on last edited by Crille
    #15

    OK, here goes.
    [1/2]
    Reactor latest-24152 bare metal.
    MQTTController 24144.

    I can't figure this out
    "MQTTController:CRIT ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr [-]"

    reactor.log

    [latest-24152]2024-06-05T20:20:25.153Z <app:null> Reactor build latest-24152-3455578a starting on v20.13.1 /usr/local/bin/node
    [latest-24152]2024-06-05T20:20:25.153Z <app:null> Process ID 317180 user/group 1000/1000; bare-metal; platform linux/x64 #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024; locale sv_SE.utf8
    [latest-24152]2024-06-05T20:20:25.154Z <app:null> Basedir /home/homebridge/reactor; data in /home/homebridge/reactor/storage
    [latest-24152]2024-06-05T20:20:25.154Z <app:null> NODE_PATH=/home/homebridge/reactor
    [latest-24152]2024-06-05T20:20:25.169Z <app:null> Resolved timezone=Europe/Stockholm, environment TZ=(undefined); offset minutes from UTC=120
    [latest-24152]2024-06-05T20:20:25.171Z <app:null> Configured locale sv-SE; selected locale(s) sv-SE
    [latest-24152]2024-06-05T20:20:25.177Z <app:null> Loaded locale sv-SE for sv-SE
    [latest-24152]2024-06-05T20:20:25.178Z <app:null> Local date/time using configured timezone and locale formatting is "2024-06-05 22:20:25"
    [latest-24152]2024-06-05T20:20:25.180Z <Structure:null> Module Structure v24110
    [latest-24152]2024-06-05T20:20:25.181Z <Capabilities:null> Module Capabilities v23331
    [latest-24152]2024-06-05T20:20:25.191Z <Capabilities:NOTICE> System capabilities loaded from core distribution, data version 24108 revision 1
    [latest-24152]2024-06-05T20:20:25.197Z <Plugin:null> Module Plugin v22300
    [latest-24152]2024-06-05T20:20:25.214Z <TimerBroker:null> Module TimerBroker v22283
    [latest-24152]2024-06-05T20:20:25.216Z <Entity:null> Module Entity v24138
    [latest-24152]2024-06-05T20:20:25.218Z <Controller:null> Module Controller v24099
    [latest-24152]2024-06-05T20:20:25.232Z <default:null> Module Ruleset v24099
    [latest-24152]2024-06-05T20:20:25.232Z <default:null> Module Rulesets v24099
    [latest-24152]2024-06-05T20:20:25.250Z <GlobalExpression:null> Module GlobalExpression v24099
    [latest-24152]2024-06-05T20:20:25.275Z <Predicate:null> Module Predicate v23093
    [latest-24152]2024-06-05T20:20:25.277Z <AlertManager:null> Module AlertManager v24099
    [latest-24152]2024-06-05T20:20:25.278Z <Rule:null> Module Rule v24149
    [latest-24152]2024-06-05T20:20:25.280Z <GlobalReaction:null> Module GlobalReaction v24099
    [latest-24152]2024-06-05T20:20:25.289Z <Engine:null> Module Engine v24113
    [latest-24152]2024-06-05T20:20:25.292Z <httpapi:null> Module httpapi v24148
    [latest-24152]2024-06-05T20:20:25.298Z <wsapi:null> Module wsapi v24148
    [latest-24152]2024-06-05T20:20:25.299Z <app:NOTICE> Starting Structure...
    [latest-24152]2024-06-05T20:20:25.308Z <Structure:INFO> Structure#1 loading controller interface vera (VeraController)
    [latest-24152]2024-06-05T20:20:25.331Z <TaskQueue:null> Module TaskQueue 24138
    [latest-24152]2024-06-05T20:20:25.332Z <VeraController:null> Module VeraController v24050
    [latest-24152]2024-06-05T20:20:25.375Z <Structure:INFO> Structure#1 loading controller interface ezlo (EzloController)
    [latest-24152]2024-06-05T20:20:25.381Z <EzloController:null> Module EzloController v23345
    [latest-24152]2024-06-05T20:20:25.384Z <Structure:INFO> Structure#1 loading controller interface groups (DynamicGroupController)
    [latest-24152]2024-06-05T20:20:25.386Z <DynamicGroupController:null> Module DynamicGroupController v24128
    [latest-24152]2024-06-05T20:20:25.390Z <Structure:INFO> Structure#1 loading controller interface virtual (VirtualEntityController)
    [latest-24152]2024-06-05T20:20:25.393Z <VirtualEntityController:null> Module VirtualEntityController v24147
    [latest-24152]2024-06-05T20:20:25.395Z <Structure:INFO> Structure#1 loading controller interface hass (HassController)
    [latest-24152]2024-06-05T20:20:25.399Z <HassController:null> Module HassController v24146
    [latest-24152]2024-06-05T20:20:25.450Z <Structure:INFO> Structure#1 loading controller interface reactor_system (SystemController)
    [latest-24152]2024-06-05T20:20:25.452Z <SystemController:null> Module SystemController v24076
    [latest-24152]2024-06-05T20:20:25.453Z <Structure:INFO> Structure#1 loading controller interface scheman (ScheduleController)
    [latest-24152]2024-06-05T20:20:25.455Z <ScheduleController:null> Module ScheduleController v24097
    [latest-24152]2024-06-05T20:20:25.455Z <Controller:INFO> Loaded ScheduleController version "0.1.24097"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com>
    [latest-24152]2024-06-05T20:20:25.456Z <Structure:INFO> Structure#1 loading controller interface mosquitto-mqtt (MQTTController)
    [latest-24152]2024-06-05T20:20:25.459Z <MQTTController:null> Module MQTTController v24144
    [latest-24152]2024-06-05T20:20:25.491Z <Controller:INFO> Loaded MQTTController version "0.2.24144"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com> https://reactor.toggledbits.com/docs/MQTTController/
    [latest-24152]2024-06-05T20:20:25.503Z <Structure:INFO> Structure#1 loading controller interface mqtt (MQTTController)
    [latest-24152]2024-06-05T20:20:25.503Z <Controller:INFO> Loaded MQTTController version "0.2.24144"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com> https://reactor.toggledbits.com/docs/MQTTController/
    [latest-24152]2024-06-05T20:20:25.507Z <Structure:INFO> Starting controller VeraController#vera
    [latest-24152]2024-06-05T20:20:25.507Z <VeraController:NOTICE> VeraController#vera starting...
    [latest-24152]2024-06-05T20:20:25.510Z <Controller:INFO> VeraController#vera loaded vera capabilities ver 22253 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.521Z <Controller:INFO> VeraController#vera loaded implementation data ver 23109 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.521Z <Structure:INFO> Starting controller EzloController#ezlo
    [latest-24152]2024-06-05T20:20:25.523Z <Controller:INFO> EzloController#ezlo loaded ezlo capabilities ver 22266 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.528Z <Controller:INFO> EzloController#ezlo loaded implementation data ver 22344 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.528Z <Structure:INFO> Starting controller DynamicGroupController#groups
    [latest-24152]2024-06-05T20:20:25.530Z <Controller:NOTICE> Controller DynamicGroupController#groups is now online.
    [latest-24152]2024-06-05T20:20:25.530Z <Structure:INFO> Starting controller VirtualEntityController#virtual
    [latest-24152]2024-06-05T20:20:25.531Z <Controller:INFO> VirtualEntityController#virtual loaded virtualentity capabilities ver 22263 rev 2 format 1
    [latest-24152]2024-06-05T20:20:25.532Z <Controller:INFO> VirtualEntityController#virtual loaded implementation data ver 22280 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.532Z <Structure:INFO> Starting controller HassController#hass
    [latest-24152]2024-06-05T20:20:25.532Z <HassController:NOTICE> HassController#hass starting...
    [latest-24152]2024-06-05T20:20:25.533Z <Controller:INFO> HassController#hass loaded hass capabilities ver 23289 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.536Z <Controller:INFO> HassController#hass loaded implementation data ver 24146 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.536Z <Structure:INFO> Starting controller SystemController#reactor_system
    [latest-24152]2024-06-05T20:20:25.537Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
    [latest-24152]2024-06-05T20:20:25.580Z <Structure:INFO> Starting controller ScheduleController#scheman
    [latest-24152]2024-06-05T20:20:25.580Z <ScheduleController:INFO> ScheduleController#scheman Sun Information entity is reactor_system>sun
    [latest-24152]2024-06-05T20:20:25.582Z <Controller:NOTICE> Controller ScheduleController#scheman is now online.
    [latest-24152]2024-06-05T20:20:25.582Z <Structure:INFO> Starting controller MQTTController#mosquitto-mqtt
    [latest-24152]2024-06-05T20:20:25.583Z <Controller:INFO> MQTTController#mosquitto-mqtt loaded mqtt capabilities ver 22353 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.583Z <Controller:INFO> MQTTController#mosquitto-mqtt loaded implementation data ver 24122 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.583Z <Structure:INFO> Starting controller MQTTController#mqtt
    [latest-24152]2024-06-05T20:20:25.583Z <MQTTController:WARN> mqtt_capabilities redefines existing x_mqtt
    [latest-24152]2024-06-05T20:20:25.584Z <MQTTController:WARN> mqtt_capabilities redefines existing x_mqtt_device
    [latest-24152]2024-06-05T20:20:25.584Z <Capabilities:INFO> [Capabilities][object Object] overriding capability x_mqtt
    [latest-24152]2024-06-05T20:20:25.584Z <Capabilities:INFO> [Capabilities][object Object] overriding capability x_mqtt_device
    [latest-24152]2024-06-05T20:20:25.584Z <Controller:INFO> MQTTController#mqtt loaded mqtt capabilities ver 22353 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.584Z <Controller:INFO> MQTTController#mqtt loaded implementation data ver 24122 rev 1 format 1
    [latest-24152]2024-06-05T20:20:25.587Z <VeraController:INFO> VeraController: deviceclass room capability sys_group does not provide attribute members
    [latest-24152]2024-06-05T20:20:25.587Z <VeraController:INFO> VeraController: deviceclass room capability sys_group does not provide attribute empty
    [latest-24152]2024-06-05T20:20:25.588Z <EzloController:INFO> EzloController#ezlo device mapping data loaded; checking...
    [latest-24152]2024-06-05T20:20:25.588Z <EzloController:WARN> EzloController: implementation of capability battery_maintenance does not provide attribute state
    [latest-24152]2024-06-05T20:20:25.589Z <HassController:INFO> HassController#hass device mapping data loaded; checking...
    [latest-24152]2024-06-05T20:20:25.602Z <EzloController:INFO> EzloController#ezlo: connecting to hub "xxxxxx" via anonymous local connection to wss://xxx.xxx.xxx.xxx
    [latest-24152]2024-06-05T20:20:25.605Z <VirtualEntityController:INFO> VirtualEntityController#virtual configuring virtual Dyr El (dyrEl)
    [latest-24152]2024-06-05T20:20:25.612Z <VirtualEntityController:INFO> VirtualEntityController#virtual configuring virtual Solar Production Forecast (solar_production_forecast)
    [latest-24152]2024-06-05T20:20:25.617Z <Controller:INFO> VirtualEntityController#virtual 0 dead entities older than 86400000s purged
    [latest-24152]2024-06-05T20:20:25.617Z <HassController:NOTICE> HassController#hass connecting to ws://xxx.xxx.xxx.xxx/api/websocket
    [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file my_tasmota_generic_relay.yaml in /home/homebridge/reactor/config/mqtt_templates/my_tasmota_generic_relay.yaml overrides existing template definition my_tasmota_generic_relay
    [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file shelly_plug_s.yaml in /home/homebridge/reactor/config/mqtt_templates/shelly_plug_s.yaml overrides existing template definition shelly_plug_s
    [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file tasmota_sensor_lyw.yaml in /home/homebridge/reactor/config/mqtt_templates/tasmota_sensor_lyw.yaml overrides existing template definition tasmota_sensor_lyw
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file wallbox_pulsar_plus.yaml in /home/homebridge/reactor/config/mqtt_templates/wallbox_pulsar_plus.yaml overrides existing template definition wallbox_pulsar_plus
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file xiaofang_motion_light_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/xiaofang_motion_light_sensor.yaml overrides existing template definition xiaofang_motion_light_sensor
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_availability
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_availability_no_get
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_lqi
    [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_ota
    [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_power_switch
    [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_dimming
    [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_battery_power
    [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_control_outlet.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_control_outlet.yaml overrides existing template definition zigbee2mqtt_tradfri_control_outlet
    [latest-24152]2024-06-05T20:20:25.625Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb
    [latest-24152]2024-06-05T20:20:25.625Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_d
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_ws
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_ws_d
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_door_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_door_sensor.yaml overrides existing template definition zigbee2mqtt_tuya_door_sensor
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_light_bulb_rgbcw.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_light_bulb_rgbcw.yaml overrides existing template definition zigbee2mqtt_tuya_light_bulb_rgbcw
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_tuya_motion_light_sensor
    [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_tuya_light_motion_sensor
    [latest-24152]2024-06-05T20:20:25.627Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_smart_plug_pm.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_smart_plug_pm.yaml overrides existing template definition zigbee2mqtt_tuya_smart_plug_pm
    [latest-24152]2024-06-05T20:20:25.628Z <Controller:NOTICE> Controller VirtualEntityController#virtual is now online.
    [latest-24152]2024-06-05T20:20:25.642Z <ScheduleController:INFO> ScheduleController#scheman entity ValueSensor#scheman>weekends edge "22:00" active, setting primary attribute value to natt
    [latest-24152]2024-06-05T20:20:25.651Z <HassController:NOTICE> HassController#hass connected, starting protocol
    [latest-24152]2024-06-05T20:20:25.654Z <HassController:INFO> HassController#hass successful authentication with ws://xxx.xxx.xxx.xxx; fetching initial data...
    [latest-24152]2024-06-05T20:20:25.658Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_mini_switch.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_mini_switch.yaml overrides existing template definition zigbee2mqtt_aqara_mini_switch
    [latest-24152]2024-06-05T20:20:25.658Z <HassController:INFO> HassController#hass Hass reports version "2024.5.5" location Hem timezone Europe/Stockholm state RUNNING safe_mode false
    [latest-24152]2024-06-05T20:20:25.661Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_aqara_motion_light_sensor
    [latest-24152]2024-06-05T20:20:25.661Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_aqara_light_motion_sensor
    [latest-24152]2024-06-05T20:20:25.664Z <MQTTController:INFO> MQTTController#mosquitto-mqtt instance topic ident is mosquitto-mqtt
    [latest-24152]2024-06-05T20:20:25.669Z <Controller:INFO> MQTTController#mosquitto-mqtt 0 dead entities older than 86400000s purged
    [latest-24152]2024-06-05T20:20:25.669Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt connecting to broker at mqtt://127.0.0.1:1885/
    [latest-24152]2024-06-05T20:20:25.686Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml overrides existing template definition zigbee2mqtt_aqara_sensor_temperature_humidity
    [latest-24152]2024-06-05T20:20:25.686Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml overrides existing template definition zigbee2mqtt_aqara_sensor_humidity_temperature
    [latest-24152]2024-06-05T20:20:25.687Z <MQTTController:INFO> MQTTController#mqtt instance topic ident is mqtt
    [latest-24152]2024-06-05T20:20:25.689Z <Controller:INFO> MQTTController#mqtt 0 dead entities older than 86400000s purged
    [latest-24152]2024-06-05T20:20:25.689Z <MQTTController:NOTICE> MQTTController#mqtt connecting to broker at mqtt://127.0.0.1:1888/
    [latest-24152]2024-06-05T20:20:25.690Z <app:NOTICE> Starting HTTP server and API...
    [latest-24152]2024-06-05T20:20:25.692Z <httpapi:NOTICE> [HTTPAPI]#1 starting HTTP service on port 8111
    [latest-24152]2024-06-05T20:20:25.695Z <app:NOTICE> Starting Reaction Engine...
    [latest-24152]2024-06-05T20:20:25.695Z <Engine:INFO> Reaction Engine starting
    [latest-24152]2024-06-05T20:20:25.696Z <Engine:INFO> Checking rule sets...
    [latest-24152]2024-06-05T20:20:25.697Z <Engine:INFO> Checking rules...
    [latest-24152]2024-06-05T20:20:25.750Z <Engine:INFO> Data check complete; no corrections.
    --- Rules redacted to posting limits
    [latest-24152]2024-06-05T20:20:25.883Z <httpapi:NOTICE> [HTTPAPI]#1 HTTP server listening on "0.0.0.0":8111
    [latest-24152]2024-06-05T20:20:25.896Z <httpapi:INFO> [HTTPAPI]#1 local docs found in /home/homebridge/reactor/docs/html; setting up static service
    [latest-24152]2024-06-05T20:20:25.897Z <app:NOTICE> Starting WSAPI...
    [latest-24152]2024-06-05T20:20:25.898Z <wsapi:NOTICE> wsapi: starting version 24148
    [latest-24152]2024-06-05T20:20:25.919Z <Engine:INFO> [Engine]Engine#1 master timer tick, local time "2024-06-05 22:20:25" (TZ offset 120 mins from UTC)
    [latest-24152]2024-06-05T20:20:25.966Z <Controller:INFO> VeraController#vera 0 dead entities older than 86400000s purged
    [latest-24152]2024-06-05T20:20:25.968Z <Controller:NOTICE> Controller VeraController#vera is now online.
    [latest-24152]2024-06-05T20:20:25.973Z <MQTTController:INFO> MQTTController#mosquitto-mqtt connected; opening subscriptions
    [latest-24152]2024-06-05T20:20:25.978Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_supervisor_update
    [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_core_update
    [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.terminal_ssh_update
    [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.esphome_update
    [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.file_editor_update
    [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_operating_system_update
    [latest-24152]2024-06-05T20:20:25.980Z <HassController:NOTICE> HassController#hass no signature match for conversation.home_assistant
    [latest-24152]2024-06-05T20:20:25.980Z <HassController:NOTICE> HassController#hass no signature match for sun.sun
    [latest-24152]2024-06-05T20:20:25.982Z <HassController:NOTICE> HassController#hass no signature match for remote.samsung_vardagsrummet
    [latest-24152]2024-06-05T20:20:26.005Z <HassController:NOTICE> HassController#hass no signature match for update.infopanel_hall_firmware
    [latest-24152]2024-06-05T20:20:26.009Z <Controller:INFO> HassController#hass 0 dead entities older than 86400000s purged
    [latest-24152]2024-06-05T20:20:26.020Z <MQTTController:INFO> MQTTController#mosquitto-mqtt sending inits and going online!
    [latest-24152]2024-06-05T20:20:26.021Z <Controller:NOTICE> Controller MQTTController#mosquitto-mqtt is now online.
    [latest-24152]2024-06-05T20:20:26.025Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyix3-98CDAC2F5883/online) for ljussensor
    [latest-24152]2024-06-05T20:20:26.026Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyplug-s-80646F811E35/online) for server
    [latest-24152]2024-06-05T20:20:26.029Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shellyplug-s-80646F811E35/command with 6 byte payload to server
    [latest-24152]2024-06-05T20:20:26.033Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shellyuni-C45BBE6C6DE8/command with 6 byte payload to poolvarmepump
    [latest-24152]2024-06-05T20:20:26.034Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Datarummet/get with 12 byte payload to datarummet
    [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Sovrummet/get with 12 byte payload to sovrummet
    [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Milia/get with 12 byte payload to milia
    [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 1/get with 12 byte payload to hallen1
    [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 2/get with 12 byte payload to hallen2
    [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 3/get with 12 byte payload to hallen3
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Fönster köket/get with 12 byte payload to fonster_koket
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Soffan/get with 12 byte payload to soffan
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Framsida/get with 12 byte payload to framsida
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Skänk/get with 12 byte payload to skank
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Baksida/get with 12 byte payload to baksida
    [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa spel/get with 12 byte payload to lampa_spel
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Ellas rum/get with 12 byte payload to lampa_ella
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa gym/get with 12 byte payload to lampa_gym
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa TV/get with 12 byte payload to lampa_tv
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Vitrinskåp/get with 12 byte payload to vitrinskap
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shelly1-34945471EBCF/relay/0/command with 6 byte payload to vvb
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Framsida/get with 12 byte payload to jul_framsida
    [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Köket/get with 12 byte payload to jul_köket
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Sovrummet/get with 12 byte payload to jul_sovrummet
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Datarummet/get with 12 byte payload to jul_datarummet
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Element gillestugan/get with 12 byte payload to element_gillestugan
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Växtbelysning källare/get with 12 byte payload to vaxtbelysning_kallare
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Kompressor/get with 12 byte payload to kompressor
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Luftrenare/get with 12 byte payload to luftrenare
    [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Uttag uterummet/get with 12 byte payload to uttag_uterummet
    [latest-24152]2024-06-05T20:20:26.039Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Entrebelysning/get with 12 byte payload to entrebelysning
    [latest-24152]2024-06-05T20:20:26.039Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa uterummet/get with 12 byte payload to lampa_uterummet
    [latest-24152]2024-06-05T20:20:26.050Z <Controller:NOTICE> Controller HassController#hass is now online.
    [latest-24152]2024-06-05T20:20:26.051Z <MQTTController:INFO> MQTTController#mqtt connected; opening subscriptions
    [latest-24152]2024-06-05T20:20:26.062Z <MQTTController:ERR> MQTTController#mosquitto-mqtt event handler failed for zigbee2mqtt/Rörelse förrådet on rorelse_forradet: [ReferenceError] Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet [-]
    [latest-24152]2024-06-05T20:20:26.062Z <MQTTController:CRIT> ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet [-]
    ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet
        at Entity.setAttribute (/home/homebridge/reactor/server/lib/Entity.js:465:19)
        at MQTTController.handle_event (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:1240:19)
        at MqttClient.<anonymous> (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:591:38)
        at MqttClient.emit (node:events:519:28)
        at MqttClient.emit (node:domain:488:12)
        at MqttClient._handlePublish (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:1551:12)
        at MqttClient._handlePacket (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:533:12)
        at work (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:436:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
    [latest-24152]2024-06-05T20:20:26.063Z <MQTTController:ERR> MQTTController#mosquitto-mqtt event handler failed for zigbee2mqtt/Sovrumsdörr on sovrumsdorr: [ReferenceError] Capability string_sensor not extended (mosquitto-mqtt>sovrumsdörr [-]
    [latest-24152]2024-06-05T20:20:26.063Z <MQTTController:CRIT> ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr [-]
    ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr
        at Entity.setAttribute (/home/homebridge/reactor/server/lib/Entity.js:465:19)
        at MQTTController.handle_event (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:1240:19)
        at MqttClient.<anonymous> (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:591:38)
        at MqttClient.emit (node:events:519:28)
        at MqttClient.emit (node:domain:488:12)
        at MqttClient._handlePublish (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:1551:12)
        at MqttClient._handlePacket (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:533:12)
        at work (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:436:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
    [latest-24152]2024-06-05T20:20:26.071Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyuni-C45BBE6C6DE8/online) for poolvarmepump
    [latest-24152]2024-06-05T20:20:26.072Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyplug-s-80646F811E35/online) for server
    [latest-24152]2024-06-05T20:20:26.074Z <MQTTController:INFO> MQTTController#mqtt sending inits and going online!
    [latest-24152]2024-06-05T20:20:26.075Z <Controller:NOTICE> Controller MQTTController#mqtt is now online.
    

    reactor.yaml

    "sovrumsdorr":
      name: "Sovrumsdörr"
      topic: "Sovrumsdörr"
      include: zigbee2mqtt_tuya_door_sensor
    
    CrilleC 1 Reply Last reply
    0
    • CrilleC Crille

      OK, here goes.
      [1/2]
      Reactor latest-24152 bare metal.
      MQTTController 24144.

      I can't figure this out
      "MQTTController:CRIT ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr [-]"

      reactor.log

      [latest-24152]2024-06-05T20:20:25.153Z <app:null> Reactor build latest-24152-3455578a starting on v20.13.1 /usr/local/bin/node
      [latest-24152]2024-06-05T20:20:25.153Z <app:null> Process ID 317180 user/group 1000/1000; bare-metal; platform linux/x64 #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024; locale sv_SE.utf8
      [latest-24152]2024-06-05T20:20:25.154Z <app:null> Basedir /home/homebridge/reactor; data in /home/homebridge/reactor/storage
      [latest-24152]2024-06-05T20:20:25.154Z <app:null> NODE_PATH=/home/homebridge/reactor
      [latest-24152]2024-06-05T20:20:25.169Z <app:null> Resolved timezone=Europe/Stockholm, environment TZ=(undefined); offset minutes from UTC=120
      [latest-24152]2024-06-05T20:20:25.171Z <app:null> Configured locale sv-SE; selected locale(s) sv-SE
      [latest-24152]2024-06-05T20:20:25.177Z <app:null> Loaded locale sv-SE for sv-SE
      [latest-24152]2024-06-05T20:20:25.178Z <app:null> Local date/time using configured timezone and locale formatting is "2024-06-05 22:20:25"
      [latest-24152]2024-06-05T20:20:25.180Z <Structure:null> Module Structure v24110
      [latest-24152]2024-06-05T20:20:25.181Z <Capabilities:null> Module Capabilities v23331
      [latest-24152]2024-06-05T20:20:25.191Z <Capabilities:NOTICE> System capabilities loaded from core distribution, data version 24108 revision 1
      [latest-24152]2024-06-05T20:20:25.197Z <Plugin:null> Module Plugin v22300
      [latest-24152]2024-06-05T20:20:25.214Z <TimerBroker:null> Module TimerBroker v22283
      [latest-24152]2024-06-05T20:20:25.216Z <Entity:null> Module Entity v24138
      [latest-24152]2024-06-05T20:20:25.218Z <Controller:null> Module Controller v24099
      [latest-24152]2024-06-05T20:20:25.232Z <default:null> Module Ruleset v24099
      [latest-24152]2024-06-05T20:20:25.232Z <default:null> Module Rulesets v24099
      [latest-24152]2024-06-05T20:20:25.250Z <GlobalExpression:null> Module GlobalExpression v24099
      [latest-24152]2024-06-05T20:20:25.275Z <Predicate:null> Module Predicate v23093
      [latest-24152]2024-06-05T20:20:25.277Z <AlertManager:null> Module AlertManager v24099
      [latest-24152]2024-06-05T20:20:25.278Z <Rule:null> Module Rule v24149
      [latest-24152]2024-06-05T20:20:25.280Z <GlobalReaction:null> Module GlobalReaction v24099
      [latest-24152]2024-06-05T20:20:25.289Z <Engine:null> Module Engine v24113
      [latest-24152]2024-06-05T20:20:25.292Z <httpapi:null> Module httpapi v24148
      [latest-24152]2024-06-05T20:20:25.298Z <wsapi:null> Module wsapi v24148
      [latest-24152]2024-06-05T20:20:25.299Z <app:NOTICE> Starting Structure...
      [latest-24152]2024-06-05T20:20:25.308Z <Structure:INFO> Structure#1 loading controller interface vera (VeraController)
      [latest-24152]2024-06-05T20:20:25.331Z <TaskQueue:null> Module TaskQueue 24138
      [latest-24152]2024-06-05T20:20:25.332Z <VeraController:null> Module VeraController v24050
      [latest-24152]2024-06-05T20:20:25.375Z <Structure:INFO> Structure#1 loading controller interface ezlo (EzloController)
      [latest-24152]2024-06-05T20:20:25.381Z <EzloController:null> Module EzloController v23345
      [latest-24152]2024-06-05T20:20:25.384Z <Structure:INFO> Structure#1 loading controller interface groups (DynamicGroupController)
      [latest-24152]2024-06-05T20:20:25.386Z <DynamicGroupController:null> Module DynamicGroupController v24128
      [latest-24152]2024-06-05T20:20:25.390Z <Structure:INFO> Structure#1 loading controller interface virtual (VirtualEntityController)
      [latest-24152]2024-06-05T20:20:25.393Z <VirtualEntityController:null> Module VirtualEntityController v24147
      [latest-24152]2024-06-05T20:20:25.395Z <Structure:INFO> Structure#1 loading controller interface hass (HassController)
      [latest-24152]2024-06-05T20:20:25.399Z <HassController:null> Module HassController v24146
      [latest-24152]2024-06-05T20:20:25.450Z <Structure:INFO> Structure#1 loading controller interface reactor_system (SystemController)
      [latest-24152]2024-06-05T20:20:25.452Z <SystemController:null> Module SystemController v24076
      [latest-24152]2024-06-05T20:20:25.453Z <Structure:INFO> Structure#1 loading controller interface scheman (ScheduleController)
      [latest-24152]2024-06-05T20:20:25.455Z <ScheduleController:null> Module ScheduleController v24097
      [latest-24152]2024-06-05T20:20:25.455Z <Controller:INFO> Loaded ScheduleController version "0.1.24097"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com>
      [latest-24152]2024-06-05T20:20:25.456Z <Structure:INFO> Structure#1 loading controller interface mosquitto-mqtt (MQTTController)
      [latest-24152]2024-06-05T20:20:25.459Z <MQTTController:null> Module MQTTController v24144
      [latest-24152]2024-06-05T20:20:25.491Z <Controller:INFO> Loaded MQTTController version "0.2.24144"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com> https://reactor.toggledbits.com/docs/MQTTController/
      [latest-24152]2024-06-05T20:20:25.503Z <Structure:INFO> Structure#1 loading controller interface mqtt (MQTTController)
      [latest-24152]2024-06-05T20:20:25.503Z <Controller:INFO> Loaded MQTTController version "0.2.24144"; Patrick Rigney/Kedron Holdings LLC <patrick@toggledbits.com> https://reactor.toggledbits.com/docs/MQTTController/
      [latest-24152]2024-06-05T20:20:25.507Z <Structure:INFO> Starting controller VeraController#vera
      [latest-24152]2024-06-05T20:20:25.507Z <VeraController:NOTICE> VeraController#vera starting...
      [latest-24152]2024-06-05T20:20:25.510Z <Controller:INFO> VeraController#vera loaded vera capabilities ver 22253 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.521Z <Controller:INFO> VeraController#vera loaded implementation data ver 23109 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.521Z <Structure:INFO> Starting controller EzloController#ezlo
      [latest-24152]2024-06-05T20:20:25.523Z <Controller:INFO> EzloController#ezlo loaded ezlo capabilities ver 22266 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.528Z <Controller:INFO> EzloController#ezlo loaded implementation data ver 22344 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.528Z <Structure:INFO> Starting controller DynamicGroupController#groups
      [latest-24152]2024-06-05T20:20:25.530Z <Controller:NOTICE> Controller DynamicGroupController#groups is now online.
      [latest-24152]2024-06-05T20:20:25.530Z <Structure:INFO> Starting controller VirtualEntityController#virtual
      [latest-24152]2024-06-05T20:20:25.531Z <Controller:INFO> VirtualEntityController#virtual loaded virtualentity capabilities ver 22263 rev 2 format 1
      [latest-24152]2024-06-05T20:20:25.532Z <Controller:INFO> VirtualEntityController#virtual loaded implementation data ver 22280 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.532Z <Structure:INFO> Starting controller HassController#hass
      [latest-24152]2024-06-05T20:20:25.532Z <HassController:NOTICE> HassController#hass starting...
      [latest-24152]2024-06-05T20:20:25.533Z <Controller:INFO> HassController#hass loaded hass capabilities ver 23289 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.536Z <Controller:INFO> HassController#hass loaded implementation data ver 24146 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.536Z <Structure:INFO> Starting controller SystemController#reactor_system
      [latest-24152]2024-06-05T20:20:25.537Z <Controller:NOTICE> Controller SystemController#reactor_system is now online.
      [latest-24152]2024-06-05T20:20:25.580Z <Structure:INFO> Starting controller ScheduleController#scheman
      [latest-24152]2024-06-05T20:20:25.580Z <ScheduleController:INFO> ScheduleController#scheman Sun Information entity is reactor_system>sun
      [latest-24152]2024-06-05T20:20:25.582Z <Controller:NOTICE> Controller ScheduleController#scheman is now online.
      [latest-24152]2024-06-05T20:20:25.582Z <Structure:INFO> Starting controller MQTTController#mosquitto-mqtt
      [latest-24152]2024-06-05T20:20:25.583Z <Controller:INFO> MQTTController#mosquitto-mqtt loaded mqtt capabilities ver 22353 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.583Z <Controller:INFO> MQTTController#mosquitto-mqtt loaded implementation data ver 24122 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.583Z <Structure:INFO> Starting controller MQTTController#mqtt
      [latest-24152]2024-06-05T20:20:25.583Z <MQTTController:WARN> mqtt_capabilities redefines existing x_mqtt
      [latest-24152]2024-06-05T20:20:25.584Z <MQTTController:WARN> mqtt_capabilities redefines existing x_mqtt_device
      [latest-24152]2024-06-05T20:20:25.584Z <Capabilities:INFO> [Capabilities][object Object] overriding capability x_mqtt
      [latest-24152]2024-06-05T20:20:25.584Z <Capabilities:INFO> [Capabilities][object Object] overriding capability x_mqtt_device
      [latest-24152]2024-06-05T20:20:25.584Z <Controller:INFO> MQTTController#mqtt loaded mqtt capabilities ver 22353 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.584Z <Controller:INFO> MQTTController#mqtt loaded implementation data ver 24122 rev 1 format 1
      [latest-24152]2024-06-05T20:20:25.587Z <VeraController:INFO> VeraController: deviceclass room capability sys_group does not provide attribute members
      [latest-24152]2024-06-05T20:20:25.587Z <VeraController:INFO> VeraController: deviceclass room capability sys_group does not provide attribute empty
      [latest-24152]2024-06-05T20:20:25.588Z <EzloController:INFO> EzloController#ezlo device mapping data loaded; checking...
      [latest-24152]2024-06-05T20:20:25.588Z <EzloController:WARN> EzloController: implementation of capability battery_maintenance does not provide attribute state
      [latest-24152]2024-06-05T20:20:25.589Z <HassController:INFO> HassController#hass device mapping data loaded; checking...
      [latest-24152]2024-06-05T20:20:25.602Z <EzloController:INFO> EzloController#ezlo: connecting to hub "xxxxxx" via anonymous local connection to wss://xxx.xxx.xxx.xxx
      [latest-24152]2024-06-05T20:20:25.605Z <VirtualEntityController:INFO> VirtualEntityController#virtual configuring virtual Dyr El (dyrEl)
      [latest-24152]2024-06-05T20:20:25.612Z <VirtualEntityController:INFO> VirtualEntityController#virtual configuring virtual Solar Production Forecast (solar_production_forecast)
      [latest-24152]2024-06-05T20:20:25.617Z <Controller:INFO> VirtualEntityController#virtual 0 dead entities older than 86400000s purged
      [latest-24152]2024-06-05T20:20:25.617Z <HassController:NOTICE> HassController#hass connecting to ws://xxx.xxx.xxx.xxx/api/websocket
      [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file my_tasmota_generic_relay.yaml in /home/homebridge/reactor/config/mqtt_templates/my_tasmota_generic_relay.yaml overrides existing template definition my_tasmota_generic_relay
      [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file shelly_plug_s.yaml in /home/homebridge/reactor/config/mqtt_templates/shelly_plug_s.yaml overrides existing template definition shelly_plug_s
      [latest-24152]2024-06-05T20:20:25.622Z <MQTTController:WARN> MQTTController#mqtt file tasmota_sensor_lyw.yaml in /home/homebridge/reactor/config/mqtt_templates/tasmota_sensor_lyw.yaml overrides existing template definition tasmota_sensor_lyw
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file wallbox_pulsar_plus.yaml in /home/homebridge/reactor/config/mqtt_templates/wallbox_pulsar_plus.yaml overrides existing template definition wallbox_pulsar_plus
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file xiaofang_motion_light_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/xiaofang_motion_light_sensor.yaml overrides existing template definition xiaofang_motion_light_sensor
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_availability
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_availability_no_get
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_lqi
      [latest-24152]2024-06-05T20:20:25.623Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_ota
      [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_power_switch
      [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_dimming
      [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_common.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml overrides existing template definition zigbee2mqtt_battery_power
      [latest-24152]2024-06-05T20:20:25.624Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_control_outlet.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_control_outlet.yaml overrides existing template definition zigbee2mqtt_tradfri_control_outlet
      [latest-24152]2024-06-05T20:20:25.625Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb
      [latest-24152]2024-06-05T20:20:25.625Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_d
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_ws
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_ikea_tradfri_light_bulb_ws.yaml overrides existing template definition zigbee2mqtt_tradfri_light_bulb_ws_d
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_door_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_door_sensor.yaml overrides existing template definition zigbee2mqtt_tuya_door_sensor
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_light_bulb_rgbcw.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_light_bulb_rgbcw.yaml overrides existing template definition zigbee2mqtt_tuya_light_bulb_rgbcw
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_tuya_motion_light_sensor
      [latest-24152]2024-06-05T20:20:25.626Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_tuya_light_motion_sensor
      [latest-24152]2024-06-05T20:20:25.627Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_smart_plug_pm.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_smart_plug_pm.yaml overrides existing template definition zigbee2mqtt_tuya_smart_plug_pm
      [latest-24152]2024-06-05T20:20:25.628Z <Controller:NOTICE> Controller VirtualEntityController#virtual is now online.
      [latest-24152]2024-06-05T20:20:25.642Z <ScheduleController:INFO> ScheduleController#scheman entity ValueSensor#scheman>weekends edge "22:00" active, setting primary attribute value to natt
      [latest-24152]2024-06-05T20:20:25.651Z <HassController:NOTICE> HassController#hass connected, starting protocol
      [latest-24152]2024-06-05T20:20:25.654Z <HassController:INFO> HassController#hass successful authentication with ws://xxx.xxx.xxx.xxx; fetching initial data...
      [latest-24152]2024-06-05T20:20:25.658Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_mini_switch.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_mini_switch.yaml overrides existing template definition zigbee2mqtt_aqara_mini_switch
      [latest-24152]2024-06-05T20:20:25.658Z <HassController:INFO> HassController#hass Hass reports version "2024.5.5" location Hem timezone Europe/Stockholm state RUNNING safe_mode false
      [latest-24152]2024-06-05T20:20:25.661Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_aqara_motion_light_sensor
      [latest-24152]2024-06-05T20:20:25.661Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_occupancy_illuminance.yaml overrides existing template definition zigbee2mqtt_aqara_light_motion_sensor
      [latest-24152]2024-06-05T20:20:25.664Z <MQTTController:INFO> MQTTController#mosquitto-mqtt instance topic ident is mosquitto-mqtt
      [latest-24152]2024-06-05T20:20:25.669Z <Controller:INFO> MQTTController#mosquitto-mqtt 0 dead entities older than 86400000s purged
      [latest-24152]2024-06-05T20:20:25.669Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt connecting to broker at mqtt://127.0.0.1:1885/
      [latest-24152]2024-06-05T20:20:25.686Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml overrides existing template definition zigbee2mqtt_aqara_sensor_temperature_humidity
      [latest-24152]2024-06-05T20:20:25.686Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_xiaomi_aqara.zip/zigbee2mqtt_xiaomi_aqara_temperature_humidity.yaml overrides existing template definition zigbee2mqtt_aqara_sensor_humidity_temperature
      [latest-24152]2024-06-05T20:20:25.687Z <MQTTController:INFO> MQTTController#mqtt instance topic ident is mqtt
      [latest-24152]2024-06-05T20:20:25.689Z <Controller:INFO> MQTTController#mqtt 0 dead entities older than 86400000s purged
      [latest-24152]2024-06-05T20:20:25.689Z <MQTTController:NOTICE> MQTTController#mqtt connecting to broker at mqtt://127.0.0.1:1888/
      [latest-24152]2024-06-05T20:20:25.690Z <app:NOTICE> Starting HTTP server and API...
      [latest-24152]2024-06-05T20:20:25.692Z <httpapi:NOTICE> [HTTPAPI]#1 starting HTTP service on port 8111
      [latest-24152]2024-06-05T20:20:25.695Z <app:NOTICE> Starting Reaction Engine...
      [latest-24152]2024-06-05T20:20:25.695Z <Engine:INFO> Reaction Engine starting
      [latest-24152]2024-06-05T20:20:25.696Z <Engine:INFO> Checking rule sets...
      [latest-24152]2024-06-05T20:20:25.697Z <Engine:INFO> Checking rules...
      [latest-24152]2024-06-05T20:20:25.750Z <Engine:INFO> Data check complete; no corrections.
      --- Rules redacted to posting limits
      [latest-24152]2024-06-05T20:20:25.883Z <httpapi:NOTICE> [HTTPAPI]#1 HTTP server listening on "0.0.0.0":8111
      [latest-24152]2024-06-05T20:20:25.896Z <httpapi:INFO> [HTTPAPI]#1 local docs found in /home/homebridge/reactor/docs/html; setting up static service
      [latest-24152]2024-06-05T20:20:25.897Z <app:NOTICE> Starting WSAPI...
      [latest-24152]2024-06-05T20:20:25.898Z <wsapi:NOTICE> wsapi: starting version 24148
      [latest-24152]2024-06-05T20:20:25.919Z <Engine:INFO> [Engine]Engine#1 master timer tick, local time "2024-06-05 22:20:25" (TZ offset 120 mins from UTC)
      [latest-24152]2024-06-05T20:20:25.966Z <Controller:INFO> VeraController#vera 0 dead entities older than 86400000s purged
      [latest-24152]2024-06-05T20:20:25.968Z <Controller:NOTICE> Controller VeraController#vera is now online.
      [latest-24152]2024-06-05T20:20:25.973Z <MQTTController:INFO> MQTTController#mosquitto-mqtt connected; opening subscriptions
      [latest-24152]2024-06-05T20:20:25.978Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_supervisor_update
      [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_core_update
      [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.terminal_ssh_update
      [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.esphome_update
      [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.file_editor_update
      [latest-24152]2024-06-05T20:20:25.979Z <HassController:NOTICE> HassController#hass no signature match for update.home_assistant_operating_system_update
      [latest-24152]2024-06-05T20:20:25.980Z <HassController:NOTICE> HassController#hass no signature match for conversation.home_assistant
      [latest-24152]2024-06-05T20:20:25.980Z <HassController:NOTICE> HassController#hass no signature match for sun.sun
      [latest-24152]2024-06-05T20:20:25.982Z <HassController:NOTICE> HassController#hass no signature match for remote.samsung_vardagsrummet
      [latest-24152]2024-06-05T20:20:26.005Z <HassController:NOTICE> HassController#hass no signature match for update.infopanel_hall_firmware
      [latest-24152]2024-06-05T20:20:26.009Z <Controller:INFO> HassController#hass 0 dead entities older than 86400000s purged
      [latest-24152]2024-06-05T20:20:26.020Z <MQTTController:INFO> MQTTController#mosquitto-mqtt sending inits and going online!
      [latest-24152]2024-06-05T20:20:26.021Z <Controller:NOTICE> Controller MQTTController#mosquitto-mqtt is now online.
      [latest-24152]2024-06-05T20:20:26.025Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyix3-98CDAC2F5883/online) for ljussensor
      [latest-24152]2024-06-05T20:20:26.026Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyplug-s-80646F811E35/online) for server
      [latest-24152]2024-06-05T20:20:26.029Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shellyplug-s-80646F811E35/command with 6 byte payload to server
      [latest-24152]2024-06-05T20:20:26.033Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shellyuni-C45BBE6C6DE8/command with 6 byte payload to poolvarmepump
      [latest-24152]2024-06-05T20:20:26.034Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Datarummet/get with 12 byte payload to datarummet
      [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Sovrummet/get with 12 byte payload to sovrummet
      [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Milia/get with 12 byte payload to milia
      [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 1/get with 12 byte payload to hallen1
      [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 2/get with 12 byte payload to hallen2
      [latest-24152]2024-06-05T20:20:26.035Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Hallen 3/get with 12 byte payload to hallen3
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Fönster köket/get with 12 byte payload to fonster_koket
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Soffan/get with 12 byte payload to soffan
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Framsida/get with 12 byte payload to framsida
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Skänk/get with 12 byte payload to skank
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Baksida/get with 12 byte payload to baksida
      [latest-24152]2024-06-05T20:20:26.036Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa spel/get with 12 byte payload to lampa_spel
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Ellas rum/get with 12 byte payload to lampa_ella
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa gym/get with 12 byte payload to lampa_gym
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa TV/get with 12 byte payload to lampa_tv
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Vitrinskåp/get with 12 byte payload to vitrinskap
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending shellies/shelly1-34945471EBCF/relay/0/command with 6 byte payload to vvb
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Framsida/get with 12 byte payload to jul_framsida
      [latest-24152]2024-06-05T20:20:26.037Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Köket/get with 12 byte payload to jul_köket
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Sovrummet/get with 12 byte payload to jul_sovrummet
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Jul Datarummet/get with 12 byte payload to jul_datarummet
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Element gillestugan/get with 12 byte payload to element_gillestugan
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Växtbelysning källare/get with 12 byte payload to vaxtbelysning_kallare
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Kompressor/get with 12 byte payload to kompressor
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Luftrenare/get with 12 byte payload to luftrenare
      [latest-24152]2024-06-05T20:20:26.038Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Uttag uterummet/get with 12 byte payload to uttag_uterummet
      [latest-24152]2024-06-05T20:20:26.039Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Entrebelysning/get with 12 byte payload to entrebelysning
      [latest-24152]2024-06-05T20:20:26.039Z <MQTTController:INFO> MQTTController#mosquitto-mqtt x_mqtt_device.poll action sending zigbee2mqtt/Lampa uterummet/get with 12 byte payload to lampa_uterummet
      [latest-24152]2024-06-05T20:20:26.050Z <Controller:NOTICE> Controller HassController#hass is now online.
      [latest-24152]2024-06-05T20:20:26.051Z <MQTTController:INFO> MQTTController#mqtt connected; opening subscriptions
      [latest-24152]2024-06-05T20:20:26.062Z <MQTTController:ERR> MQTTController#mosquitto-mqtt event handler failed for zigbee2mqtt/Rörelse förrådet on rorelse_forradet: [ReferenceError] Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet [-]
      [latest-24152]2024-06-05T20:20:26.062Z <MQTTController:CRIT> ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet [-]
      ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>rorelse_forradet
          at Entity.setAttribute (/home/homebridge/reactor/server/lib/Entity.js:465:19)
          at MQTTController.handle_event (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:1240:19)
          at MqttClient.<anonymous> (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:591:38)
          at MqttClient.emit (node:events:519:28)
          at MqttClient.emit (node:domain:488:12)
          at MqttClient._handlePublish (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:1551:12)
          at MqttClient._handlePacket (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:533:12)
          at work (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:436:12)
          at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
      [latest-24152]2024-06-05T20:20:26.063Z <MQTTController:ERR> MQTTController#mosquitto-mqtt event handler failed for zigbee2mqtt/Sovrumsdörr on sovrumsdorr: [ReferenceError] Capability string_sensor not extended (mosquitto-mqtt>sovrumsdörr [-]
      [latest-24152]2024-06-05T20:20:26.063Z <MQTTController:CRIT> ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr [-]
      ReferenceError: Capability string_sensor not extended (mosquitto-mqtt>sovrumsdorr
          at Entity.setAttribute (/home/homebridge/reactor/server/lib/Entity.js:465:19)
          at MQTTController.handle_event (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:1240:19)
          at MqttClient.<anonymous> (/home/homebridge/reactor/config/ext/MQTTController/MQTTController.js:591:38)
          at MqttClient.emit (node:events:519:28)
          at MqttClient.emit (node:domain:488:12)
          at MqttClient._handlePublish (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:1551:12)
          at MqttClient._handlePacket (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:533:12)
          at work (/home/homebridge/reactor/config/ext/MQTTController/node_modules/mqtt/lib/client.js:436:12)
          at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
      [latest-24152]2024-06-05T20:20:26.071Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyuni-C45BBE6C6DE8/online) for poolvarmepump
      [latest-24152]2024-06-05T20:20:26.072Z <MQTTController:NOTICE> MQTTController#mosquitto-mqtt received LWT (shellies/shellyplug-s-80646F811E35/online) for server
      [latest-24152]2024-06-05T20:20:26.074Z <MQTTController:INFO> MQTTController#mqtt sending inits and going online!
      [latest-24152]2024-06-05T20:20:26.075Z <Controller:NOTICE> Controller MQTTController#mqtt is now online.
      

      reactor.yaml

      "sovrumsdorr":
        name: "Sovrumsdörr"
        topic: "Sovrumsdörr"
        include: zigbee2mqtt_tuya_door_sensor
      
      CrilleC Offline
      CrilleC Offline
      Crille
      wrote on last edited by Crille
      #16

      [2/2]

      zigbee2mqtt_common.yaml

      # Requires: "topic".
      # Optional: "prefix" (default: zigbee2mqtt).
      # mqtt_device.online requires "availability: true" in Zigbee2MQTT config.
      # https://www.zigbee2mqtt.io/guide/configuration/device-availability.html
      
      description: "Zigbee2MQTT base templates"
      author: "@Crille, Smart Home Community"
      license: MIT
      repository: "https://github.com/calmen77/MSR-mqtt_templates"
      version: 24155
      
      templates:
        # Availability with query
        zigbee2mqtt_availability:
          capabilities: [x_mqtt_device]
          requires: [topic]
          query:
            topic: "%prefix:zigbee2mqtt%/%topic%/get"
            payload:
              state: ""
            type: json
          events:
            "%prefix:zigbee2mqtt%/%topic%/availability":
              "x_mqtt_device.online":
                if_expr: '! isnull(payload)'
                expr: 'lower(payload) == "online"'
        # Availability without query for device not supporting /get
        zigbee2mqtt_availability_no_get:
          capabilities: [x_mqtt_device]
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%/availability":
              "x_mqtt_device.online":
                if_expr: '! isnull(payload)'
                expr: 'lower(payload) == "online"'
        # Link quality in lqi
        zigbee2mqtt_lqi:
          capabilities: [value_sensor]
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "value_sensor.value":
                json_payload: true
                if_expr: '! isnull(payload)'
                expr: 'payload.linkquality'
              "value_sensor.units": "lqi"
      # String sensor for available OTA update for device
        zigbee2mqtt_ota:
          capabilities: [string_sensor]
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "string_sensor.value":
                json_payload: true
                if_expr: '! isnull(payload)'
                expr: 'payload?.update_available ? "OTA firmware update available!" : "no update available"'
        # Power switch capability
        zigbee2mqtt_power_switch:
          capabilities:
            - power_switch
            - toggle
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "power_switch.state":
                json_payload: true
                expr: 'payload?.state == "ON"'
          actions:
            power_switch:
              "on":
                topic: "%prefix:zigbee2mqtt%/%topic%/set"
                payload: "ON"
              "off":
                topic: "%prefix:zigbee2mqtt%/%topic%/set"
                payload: "OFF"
              set:
                topic: "%prefix:zigbee2mqtt%/%topic%/set"
                payload:
                  expr: "parameters.state ? 'on' : 'off'"
                  type: raw
        # Dimming capability
        zigbee2mqtt_dimming:
          capabilities: [dimming]
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "dimming.level":
                json_payload: true
                expr: 'round(payload?.brightness / 100 / 2.55 , 2)'
          actions:
            dimming:
              set:
                topic: "%prefix:zigbee2mqtt%/%topic%/set"
                payload:
                  expr: '{"brightness": round(parameters.level * 100 * 2.55 , 2)}'
                  type: json
        # Battery level
        zigbee2mqtt_battery_power:
          capabilities: [battery_power]
          requires: [topic]
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "battery_power.level":
                json_payload: true
                expr: 'payload?.battery / 100'
              "battery_power.since":
                expr: 'time()'
          actions:
            x_mqtt_device:
              poll: false
      
      

      zigbee2mqtt_tuya_door_sensor.yaml

      # Requires: "topic".
      # Optional: "prefix" (default: zigbee2mqtt).
      # mqtt_device.online requires "availability: true" in Zigbee2MQTT config.
      # https://www.zigbee2mqtt.io/devices/SNZB-04.html
      
      description: "Zigbee2MQTT template for TuYa Smart Door Sensor."
      author: "@Crille, Smart Home Community"
      license: MIT
      repository: "https://github.com/calmen77/MSR-mqtt_templates"
      version: 24155
      
      templates:
        zigbee2mqtt_tuya_door_sensor:
          #type:
          capabilities:
            - door_sensor
          primary_attribute: door_sensor.state
          requires: [topic]
          include:
            - zigbee2mqtt_availability_no_get
            - zigbee2mqtt_lqi
            - zigbee2mqtt_battery_power
          events:
            "%prefix:zigbee2mqtt%/%topic%":
              "door_sensor.state":
                json_payload: true
                expr: 'payload?.contact'
      
      1 Reply Last reply
      0
      • toggledbitsT Offline
        toggledbitsT Offline
        toggledbits
        wrote on last edited by toggledbits
        #17

        Turn debug level 5 on for MQTTController. It will show you how it's loading the templates and building the final entity configuration. The message fragment you'll want to look for is merged template for sovrumsdorr... then work backwards in the log from there to configuring entity sovrumsdorr. Everything in between is the setup.

        Also examine the debug messages at startup for where it's finding templates and loading them... make sure everything it's loading is what's intended, and you don't have a stray old file sitting around somewhere that it's sucking in.

        Edit: your logs are showing a lot of duplicate definitions in the startup messages...

        Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

        CrilleC 1 Reply Last reply
        0
        • toggledbitsT toggledbits

          Turn debug level 5 on for MQTTController. It will show you how it's loading the templates and building the final entity configuration. The message fragment you'll want to look for is merged template for sovrumsdorr... then work backwards in the log from there to configuring entity sovrumsdorr. Everything in between is the setup.

          Also examine the debug messages at startup for where it's finding templates and loading them... make sure everything it's loading is what's intended, and you don't have a stray old file sitting around somewhere that it's sucking in.

          Edit: your logs are showing a lot of duplicate definitions in the startup messages...

          CrilleC Offline
          CrilleC Offline
          Crille
          wrote on last edited by Crille
          #18

          It seems to merge the events: section of string_sensor and power_switch in ...common.yaml and wrap value_sensor.units in string_sensor capability.
          I've looked for strange characters that could cause it but found nothing, validated all files OK in yamllint.

          [latest-24152]2024-06-06T06:29:11.699Z <MQTTController:5:MQTTController.js:146> MQTTController#mosquitto-mqtt configuring entity sovrumsdorr
          [latest-24152]2024-06-06T06:29:11.699Z <MQTTController:5:MQTTController.js:205> MQTTController#mosquitto-mqtt merged template for sovrumsdorr (from /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml/zigbee2mqtt_common.yaml):
          {
              "capabilities": [
                  "door_sensor",
                  "x_mqtt_device",
                  "value_sensor",
                  "battery_power"
              ],
              "primary_attribute": "door_sensor.state",
              "requires": [
                  "topic"
              ],
              "include": [
                  "zigbee2mqtt_availability_no_get",
                  "zigbee2mqtt_lqi",
                  "zigbee2mqtt_battery_power",
                  "zigbee2mqtt_tuya_door_sensor"
              ],
              "events": {
                  "%prefix:zigbee2mqtt%/%topic%": {
                      "door_sensor.state": {
                          "json_payload": true,
                          "expr": "payload?.contact"
                      },
                      "value_sensor.value": {
                          "json_payload": true,
                          "if_expr": "! isnull(payload)",
                          "expr": "payload.linkquality",
                          "attribute": "value_sensor.value"
                      },
                      "value_sensor.units": "lqi",
                      "string_sensor.value": {
                          "json_payload": true,
                          "if_expr": "! isnull(payload)",
                          "expr": "payload?.update_available ? \"OTA firmware update available!\" : \"no update available\"",
                          "attribute": "string_sensor.value"
                      },
                      "power_switch.state": {
                          "json_payload": true,
                          "expr": "payload?.state == \"ON\"",
                          "attribute": "power_switch.state"
                      },
                      "battery_power.level": {
                          "json_payload": true,
                          "expr": "payload?.battery / 100",
                          "attribute": "battery_power.level"
                      },
                      "battery_power.since": {
                          "expr": "time()",
                          "attribute": "battery_power.since"
                      }
                  },
                  "%prefix:zigbee2mqtt%/%topic%/availability": {
                      "x_mqtt_device.online": {
                          "if_expr": "! isnull(payload)",
                          "expr": "lower(payload) == \"online\"",
                          "attribute": "x_mqtt_device.online"
                      }
                  }
              },
              "__source": "/home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_common.yaml/zigbee2mqtt_common.yaml",
              "actions": {
                  "x_mqtt_device": {
                      "poll": false
                  }
              },
              "name": "Sovrumsdörr",
              "topic": "Sovrumsdörr"
          }
          [latest-24152]2024-06-06T06:29:11.699Z <MQTTController:5:MQTTController.js:264> MQTTController#mosquitto-mqtt set primary attribute of door_sensor.state to Entity#mosquitto-mqtt>sovrumsdorr
          [latest-24152]2024-06-06T06:29:11.700Z <MQTTController:5:MQTTController.js:289> MQTTController#mosquitto-mqtt registering event handler %prefix:zigbee2mqtt%/%topic% for sovrumsdorr
          [latest-24152]2024-06-06T06:29:11.700Z <MQTTController:5:MQTTController.js:289> MQTTController#mosquitto-mqtt registering event handler %prefix:zigbee2mqtt%/%topic%/availability for sovrumsdorr
          [latest-24152]2024-06-06T06:29:11.700Z <MQTTController:5:MQTTController.js:368> MQTTController#mosquitto-mqtt registering action x_mqtt_device.poll for sovrumsdorr
          

          Regarding the duplicates, it could be the templates with different primary_attribute: and it is on my roadmap to bring it up for discussion if attributes also could be parameterized with defaults like %primary_attribute:[temperature / humidity / power_switch / dimming / motion / light]% or %temperature_sensor.units:[C / F]%.

          EDIT: Or is caused by the mystery of this issue? e.g. string_sensor and power_switch is somehow included in all templates.

          1 Reply Last reply
          0
          • therealdbT Offline
            therealdbT Offline
            therealdb
            wrote on last edited by
            #19

            @Crille at some point I had similar problems, I fixed them and I reported here. Now I cannot repro it again, but it seems very similar and related to primary attributes in base templates. It seems like the first one is used and that’s causing troubles along the hierarchy, but, as I said, I’m not able to repro it again.

            --
            On a mission to automate everything.

            My MS Reactor contrib
            My Luup Plug-ins

            1 Reply Last reply
            1
            • toggledbitsT Offline
              toggledbitsT Offline
              toggledbits
              wrote on last edited by toggledbits
              #20

              It also looks like something may be getting a shallow copy when it needs a deep copy, and it's being modified later and polluting the other references. I'm really tied up today, but I'll look at this as soon as I can.

              Did you address the template redefinitions that were being logged at startup? That has nothing to do with primary attributes; the entire template is trying to be redefined.

              Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

              CrilleC 1 Reply Last reply
              0
              • toggledbitsT toggledbits

                It also looks like something may be getting a shallow copy when it needs a deep copy, and it's being modified later and polluting the other references. I'm really tied up today, but I'll look at this as soon as I can.

                Did you address the template redefinitions that were being logged at startup? That has nothing to do with primary attributes; the entire template is trying to be redefined.

                CrilleC Offline
                CrilleC Offline
                Crille
                wrote on last edited by
                #21

                No rush!

                @toggledbits said in [Dev] Inheritance in MQTT templates?:

                Did you address the template redefinitions that were being logged at startup?

                You mean this?

                <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_door_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_door_sensor.yaml overrides existing template definition zigbee2mqtt_tuya_door_sensor
                

                If so I don't know what to do about it, it's just the template provided in my earlier post and there is no reference/copy of it in the reactor folder/subfolders that I know of.

                1 Reply Last reply
                0
                • toggledbitsT Offline
                  toggledbitsT Offline
                  toggledbits
                  wrote on last edited by
                  #22

                  With debug level 5, that message will have another message that follows it to tell you what file originally defined it.

                  Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                  CrilleC 1 Reply Last reply
                  0
                  • toggledbitsT toggledbits

                    With debug level 5, that message will have another message that follows it to tell you what file originally defined it.

                    CrilleC Offline
                    CrilleC Offline
                    Crille
                    wrote on last edited by
                    #23

                    This?

                    [latest-24152]2024-06-06T19:29:35.079Z <MQTTController:5:MQTTController.js:941> MQTTController#mqtt loading template defs, considering zigbee2mqtt_tuya_door_sensor.yaml
                    [latest-24152]2024-06-06T19:29:35.079Z <MQTTController:5:MQTTController.js:987> MQTTController#mqtt loading YAML template data from /home/homebridge/reactor/config/mqtt_templates/zigbee2mqt
                    t_tuya_door_sensor.yaml
                    [latest-24152]2024-06-06T19:29:35.080Z <MQTTController:WARN> MQTTController#mqtt file zigbee2mqtt_tuya_door_sensor.yaml in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_do
                    or_sensor.yaml overrides existing template definition zigbee2mqtt_tuya_door_sensor
                    [latest-24152]2024-06-06T19:29:35.080Z <MQTTController:5:MQTTController.js:918> MQTTController#mqtt previously defined in /home/homebridge/reactor/config/mqtt_templates/zigbee2mqtt_tuya_doo
                    r_sensor.yaml/zigbee2mqtt_tuya_door_sensor.yaml
                    
                    
                    1 Reply Last reply
                    0
                    • toggledbitsT Offline
                      toggledbitsT Offline
                      toggledbits
                      wrote on last edited by
                      #24

                      Uh yes... 😆

                      Digging in now...

                      Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                      1 Reply Last reply
                      0
                      • toggledbitsT Offline
                        toggledbitsT Offline
                        toggledbits
                        wrote on last edited by
                        #25

                        I need the config for all of your zigbee2mqtt-related entities. Just looking at the one sovrumsdorr, I'm not able to reproduce the problem.

                        Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                        1 Reply Last reply
                        0
                        • CrilleC Offline
                          CrilleC Offline
                          Crille
                          wrote on last edited by
                          #26

                          Config as in reactor.yaml?

                          1 Reply Last reply
                          0
                          • toggledbitsT Offline
                            toggledbitsT Offline
                            toggledbits
                            wrote on last edited by
                            #27

                            Yes, but just the entities that use the zigbee2mqtt templates. I don't need all of it.

                            Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                            1 Reply Last reply
                            0
                            • CrilleC Offline
                              CrilleC Offline
                              Crille
                              wrote on last edited by Crille
                              #28
                              entities:
                                "zigbee2mqtt_sensor":
                                  name: "Zigbee2MQTT"
                                  topic: "zigbee2mqtt"
                                  include: my_zigbee2mqtt_sensor
                                "datarummet":
                                  name: "Datarummet"
                                  topic: "Datarummet"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "sovrummet":
                                  name: "Sovrummet"
                                  topic: "Sovrummet"
                                  include: zigbee2mqtt_tradfri_light_bulb_ws
                                "milia":
                                  name: "Milia"
                                  topic: "Milia"
                                  include: zigbee2mqtt_tradfri_light_bulb_ws
                                "hallen1":
                                  name: "Hallen 1"
                                  topic: "Hallen 1"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "hallen2":
                                  name: "Hallen 2"
                                  topic: "Hallen 2"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "hallen3":
                                  name: "Hallen 3"
                                  topic: "Hallen 3"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "fonster_koket":
                                  name: "Fönster köket"
                                  topic: "Fönster köket"
                                  include: zigbee2mqtt_tradfri_light_bulb_ws
                                "soffan":
                                  name: "Soffan"
                                  topic: "Soffan"
                                  include: zigbee2mqtt_tradfri_light_bulb_ws
                                "framsida":
                                  name: "Framsida"
                                  topic: "Framsida"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "skank":
                                  name: "Skänk"
                                  topic: "Skänk"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "baksida":
                                  name: "Baksida"
                                  topic: "Baksida"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "lampa_spel":
                                  name: "Lampa spel"
                                  topic: "Lampa spel"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "lampa_ella":
                                  name: "Lampa Ella"
                                  topic: "Ellas rum"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "lampa_gym":
                                  name: "Lampa gym"
                                  topic: "Lampa gym"
                                  include: zigbee2mqtt_tradfri_light_bulb
                                "lampa_tv":
                                  name: "Lampa TV"
                                  topic: "Lampa TV"
                                  include: zigbee2mqtt_tradfri_control_outlet
                                "vitrinskap":
                                  name: "Vitrinskåp"
                                  topic: "Vitrinskåp"
                                  include: zigbee2mqtt_tradfri_control_outlet
                                "klimat_sovrum":
                                  name: "Klimat sovrum"
                                  topic: "Klimat sovrum"
                                  include: zigbee2mqtt_aqara_sensor_temperature_humidity
                                "klimat_kaminen":
                                  name: "Klimat kaminen"
                                  topic: "Klimat kaminen"
                                  include: zigbee2mqtt_aqara_sensor_temperature_humidity
                                "klimat_dusch":
                                  name: "Klimat dusch"
                                  topic: "Klimat dusch"
                                  include: zigbee2mqtt_aqara_sensor_humidity_temperature
                                "klimat_tvattstugan":
                                  name: "Klimat tvättstugan"
                                  topic: "Klimat tvättstugan"
                                  include: zigbee2mqtt_aqara_sensor_temperature_humidity
                                "rorelse_hallen":
                                  name: "Rörelse hallen"
                                  topic: "Rörelse hallen"
                                  include: zigbee2mqtt_aqara_light_motion_sensor
                                "rorelse_kallaren":
                                  name: "Rörelse källaren"
                                  topic: "Rörelse källaren"
                                  include: zigbee2mqtt_aqara_light_motion_sensor
                                "rorelse_forradet":
                                  name: "Rörelse förrådet"
                                  topic: "Rörelse förrådet"
                                  include: zigbee2mqtt_tuya_motion_light_sensor
                                "mini_switch_1":
                                  name: "Mini Switch källaren"
                                  topic: "Mini Switch källaren"
                                  include: zigbee2mqtt_aqara_mini_switch
                                "jul_framsida":
                                  name: "Jul Framsida"
                                  topic: "Jul Framsida"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "jul_koket":
                                  name: "Jul Köket"
                                  topic: "Jul Köket"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "jul_sovrummet":
                                  name: "Jul Sovrummet"
                                  topic: "Jul Sovrummet"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "jul_datarummet":
                                  name: "Jul Datarummet"
                                  topic: "Jul Datarummet"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "element_gillestugan":
                                  name: "Element gillestugan"
                                  topic: "Element gillestugan"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "vaxtbelysning_kallare":
                                  name: "Växtbelysning källare"
                                  topic: "Växtbelysning källare"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "kompressor":
                                  name: "Kompressor"
                                  topic: "Kompressor"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "luftrenare":
                                  name: "Luftrenare Sovrum"
                                  topic: "Luftrenare"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "uttag_uterummet":
                                  name: "Uttag uterummet"
                                  topic: "Uttag uterummet"
                                  include: zigbee2mqtt_tuya_smart_plug_pm
                                "sovrumsdorr":
                                  name: "Sovrumsdörr"
                                  topic: "Sovrumsdörr"
                                  include: zigbee2mqtt_tuya_door_sensor
                                "entrebelysning":
                                  name: "Entrébelysning"
                                  topic: "Entrebelysning"
                                  include: zigbee2mqtt_tuya_light_bulb_rgbcw
                                "lampa_uterummet":
                                  name: "Lampa uterummet"
                                  topic: "Lampa uterummet"
                                  include: zigbee2mqtt_tuya_light_bulb_rgbcw
                              

                              EDIT: unrelated, found entity id "jul_köket" and renamed it to "jul_koket" in post and Reactor.

                              1 Reply Last reply
                              0
                              • toggledbitsT Offline
                                toggledbitsT Offline
                                toggledbits
                                wrote on last edited by
                                #29

                                OK. I also need the definitions for zigbee2mqtt_tradfri_light_bulb and all of the other templates not in the common file you previously posted.

                                Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                1 Reply Last reply
                                0
                                • toggledbitsT Offline
                                  toggledbitsT Offline
                                  toggledbits
                                  wrote on last edited by
                                  #30

                                  Wait... are those just available on Github? Are your current versions published in any branch there? If so, I'll just grab them from there.

                                  Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                  1 Reply Last reply
                                  0
                                  • CrilleC Offline
                                    CrilleC Offline
                                    Crille
                                    wrote on last edited by
                                    #31

                                    No I haven't published them due to this issue but I can put them in the test branch, hold on.

                                    1 Reply Last reply
                                    0
                                    • CrilleC Offline
                                      CrilleC Offline
                                      Crille
                                      wrote on last edited by
                                      #32

                                      Available in zigbee2mqtt_test.zip

                                      1 Reply Last reply
                                      1
                                      • CrilleC Offline
                                        CrilleC Offline
                                        Crille
                                        wrote on last edited by
                                        #33

                                        Looks like MQTTController 24159 solved it. I don't see any errors or warnings in the log after a restart, except all of these but I quess that's normal?

                                        <MQTTController:WARN> MQTTController#mqtt file /home/homebridge/reactor/config/ext/MQTTController/templates/tasmota.yaml overrides existing template definition tasmota_generic_relay from /home/homebridge/reactor/config/ext/MQTTController/templates/tasmota.yaml
                                        
                                        1 Reply Last reply
                                        0
                                        • toggledbitsT Offline
                                          toggledbitsT Offline
                                          toggledbits
                                          wrote on last edited by
                                          #34

                                          No not normal, and I don't get those.

                                          Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Recent Topics

                                          • How to upgrade from an old version of MSR?
                                            CrilleC
                                            Crille
                                            0
                                            25
                                            306

                                          • This trigger no longer working - complaining about the operator needing changing
                                            toggledbitsT
                                            toggledbits
                                            0
                                            18
                                            48

                                          • Can you run MSR on Home Assistant OS ?
                                            therealdbT
                                            therealdb
                                            0
                                            2
                                            21

                                          • HA and AI
                                            PablaP
                                            Pabla
                                            0
                                            2
                                            104

                                          • Self test
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            99

                                          • Access control - allowing anonymous user to dashboard
                                            toggledbitsT
                                            toggledbits
                                            0
                                            2
                                            115

                                          • VEC Virtual Switch Auto Off
                                            S
                                            SweetGenius
                                            1
                                            1
                                            81

                                          • Upcoming Storage Change -- Got Back-ups?
                                            toggledbitsT
                                            toggledbits
                                            3
                                            1
                                            77

                                          • Oddness in Copy/Move of Reactions
                                            G
                                            gwp1
                                            0
                                            1
                                            91

                                          • [Solved] function isRuleEnabled() issue
                                            CrilleC
                                            Crille
                                            0
                                            4
                                            190

                                          • [Reactor] Problem with Global Reactions and groups
                                            therealdbT
                                            therealdb
                                            0
                                            3
                                            175

                                          • Possible feature request 2?
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            151
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Unsolved