Search found 147 matches

by Doler
Wednesday 25 June 2025 18:46
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

[/quote] Thanks for your answer. Do you mean that Domoticz would combine if there was only temp and humidity, but as there is also battery and signal strength Domoticz has no combined device and decides not to combine temp + humidity on one side and let battery and signal strength single? By the way ...
by Doler
Wednesday 25 June 2025 15:30
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

I probably had a combined temperature/humidity device but in the mean time I hacked these meters to use the Zigbee protocol as that is an interface I already used. I do have some DIY temperature meters based on ESP32 that I programmed for auto discovery in Domoticz. From that I learned that Domoticz ...
by Doler
Monday 13 January 2025 16:39
Forum: Bugs and Problems
Topic: Zigbee2MQTT python plugin webpage doesn't load content
Replies: 4
Views: 300

Re: Zigbee2MQTT python plugin webpage doesn't load content

Solved
I compared the files and have seen the change and learned something from the code. I apparently missed the commit in December 2023 :(

A git pull and clear cache did the trick. Thanks
by Doler
Monday 13 January 2025 15:16
Forum: Bugs and Problems
Topic: Zigbee2MQTT python plugin webpage doesn't load content
Replies: 4
Views: 300

Re: Zigbee2MQTT python plugin webpage doesn't load content

I think you're right that removal of the depreciated API calls are the cause. In the absence of Stass I tried to find the call and repair it but couldn't find it (I'm not in Python) but I'll try again. And yes I have the latest version of the plugin. The use of the MQTT AD gateway is not an option ...
by Doler
Monday 13 January 2025 14:45
Forum: Bugs and Problems
Topic: Zigbee2MQTT python plugin webpage doesn't load content
Replies: 4
Views: 300

Zigbee2MQTT python plugin webpage doesn't load content

The webpage of the Zigbee2MQTT python plugin does start but has stopped loading content (keeps displaying 'loading...'). The webpage functioned correctly in Domoticz version 2024.7 build 16381 but stopped working since I updated to version 2024.7 build 16450. Somewhere in between it's gone wrong but ...
by Doler
Tuesday 16 July 2024 10:25
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 187085

Re: Tesla hardware module

@JanJaap I recently bought a Tesla Model Y and thought I should try the integration with Domoticz. All did go well until the start of the new hardware were I met the following error: 2024-07-16 10:13:47.938 Status: Tesla: Started. 2024-07-16 10:13:48.387 Status: Tesla: Initialized version 0.8.1 ...
by Doler
Thursday 06 June 2024 8:31
Forum: dzVents
Topic: trigger distiction in a script: physical button or script?
Replies: 8
Views: 921

Re: trigger distiction in a script: physical button or script?

The way I solved this is to capture the status as changed by the script in dzVents data (data = { savedState = { initial = 'Off' }}). Whenever the script changes the state, change the savedState accordingly. So when you use a physical button this savedState remains unchanged. Then in your script you ...
by Doler
Tuesday 12 December 2023 19:18
Forum: Switches and Scenes
Topic: Zigbee push buttons all stopped working
Replies: 17
Views: 3844

Re: Zigbee push buttons all stopped working

It's not a Zwave-JS issue but a Zigbee AD issue. These multifunction switches (Sonoff, Xiaomi) are not recognised by the built-in Zigbee AD as they are correctly recognised by the Zigbee Z2M plugin. This is a long standing issue that till today didn't get resolved (too specific devices?). With ...
by Doler
Sunday 05 November 2023 21:53
Forum: dzVents
Topic: trim() in dzVents ? [Solved]
Replies: 5
Views: 970

Re: trim() in dzVents ? [Solved]

It's Lua. There is a little error in the function (sorry for that): 'match' should be 'string.match'. I guess you can recognize it now.
by Doler
Sunday 05 November 2023 11:13
Forum: dzVents
Topic: trim() in dzVents ? [Solved]
Replies: 5
Views: 970

Re: trim() in dzVents ? [Solved]

Don't know if dzvents has this function but in case not:

Code: Select all

-- Trim a string
stringTrim = function(s)
  return s:match'^%s*(.*%S)' or ''
end
by Doler
Tuesday 17 October 2023 18:42
Forum: Zigbee
Topic: WORKING NOW - DYI ZigBee switch (TI's CC2530) connecting to Zigbee2MQTT
Replies: 5
Views: 991

Re: Project stalled - DYI ZigBee switch (TI's CC2530) connecting to Zigbee2MQTT

Maybe a useful contact could be Andrew Lamchenko who can be found on Github (smartboxchannel) or YouTube (Andrew EfektaSB). He has a lot of DIY zigbee (zigbee2mqtt) projects.
by Doler
Thursday 21 September 2023 12:59
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: ran virgin install from prompt (curl) and updatebeta now login needed
Replies: 5
Views: 554

Re: ran virgin install from prompt (curl) and updatebeta now login needed

I suggest you start reading the Wiki (hint: the answer is on the front page)
by Doler
Wednesday 23 August 2023 19:10
Forum: Zigbee
Topic: SONOFF Zigbee 3.0 USB Dongle Plus V2 - can't communicate :(
Replies: 20
Views: 4257

Re: SONOFF Zigbee 3.0 USB Dongle Plus V2 - can't communicate :(

From the manual (www.zigbee2mqtt.io/guide/adapters/#experimental):

If Zigbee2MQTT fails to start, try adding the following to your configuration.yaml

serial:
adapter: ezsp

Grz, Mark
by Doler
Monday 06 February 2023 13:21
Forum: LUA
Topic: can I find script name in LUA code?
Replies: 7
Views: 1524

Re: can I find script name in LUA code?

I use:

Code: Select all

local SCRIPT_NAME = string.gsub(string.match(debug.getinfo(1, 'S').short_src, "[^/]+$"), '.lua', '')
in all my scripts.
by Doler
Monday 16 January 2023 21:34
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

Thanks waltervl! I have resubmitted the PR on the development branch so hope it is better this time! @Doler If you would were able to test, that would be superb! It is now on the dev branch so much easier. Just need to do a normal build but using https://github.com/StephenR1/domoticz.git as the ...
by Doler
Saturday 14 January 2023 10:50
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

Is there a is_defined statement in the config messages? Try to set OpenHABAutoDiscovery to true into config_mqttDiscovery.h #define OpenHABDiscovery true There is a is_defined in the config message: omg-ad/sensor/A4C1385DBC50-tempc/config (OpenHABDiscovery = false) { "stat_t": "+/+/BTtoMQTT ...
by Doler
Friday 13 January 2023 18:41
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

I do not understand what you mean with 'system level'. Domoticz has combined sensors devices temperature + humidity Perhaps also post some related MQTT messages. This device (battery percentage) is reporting at LYWSD03MMC_ATC: 36 OMG-AD A4C138516C6F-batt 1 LYWSD03MMC_ATC-batt General Percentage 68 ...
by Doler
Friday 13 January 2023 14:11
Forum: MQTT Auto Discovery
Topic: Autodiscovery with TheengsGateway
Replies: 39
Views: 2762

Re: Autodiscovery with TheengsGateway

When looking at the code in OpenMQTTGateway it seems that those wildcards are added when the entity is not belonging to the gateway. I do not understand what that could mean but possible solution would be to add the entity to the gateway..... https://github.com/1technophile/OpenMQTTGateway/blob ...
by Doler
Thursday 12 January 2023 15:41
Forum: MQTT Auto Discovery
Topic: Issue with OpenMQTTGateway with BLE
Replies: 3
Views: 1329

Re: Issue with OpenMQTTGateway with BLE

@1technophile: Using 'esp32dev-ble-openhab' doesn't solve the problem. The reason that the sensors are not added is probably due to the use of wildcards (+/+/) in the topic (see also https://www.domoticz.com/forum/viewtopic.php?t=39728). It looks like domoticz doesn't understand wildcards so a ...
by Doler
Wednesday 30 November 2022 20:39
Forum: MQTT Auto Discovery
Topic: Zigbee Auto Discovery status for selector devices?
Replies: 5
Views: 720

Re: Zigbee Auto Discovery status for selector devices?

No reaction so I guess status is unknown. Will have to stick to the plugin then since that is working.