Search found 41 matches
- Tuesday 02 June 2020 17:41
- Forum: dzVents
- Topic: Presence detection using UniFi Controller and DzVents [Solved]
- Replies: 71
- Views: 17638
Re: Presence detection using UniFi Controller and DzVents [Solved]
Sadly it doesn't work for me either: 2020-06-02 17:27:00.438 Status: dzVents: Info: Opvragen Unifi: ------ Start internal script: Unifi:, trigger: "every minute" 2020-06-02 17:27:00.439 Status: dzVents: Debug: OpenURL: url = https://unifi/api/login 2020-06-02 17:27:00.439 Status: dzVents: Debug ...
- Tuesday 05 May 2020 12:40
- Forum: Zigbee
- Topic: Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
- Replies: 6
- Views: 621
Re: Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
If you have the possibility to do UNBIND on Cluster 0x0006, 0x0008, 0x0300 this should make the trick What I did not mention yet, is that I unpaired the switch from zigbee2mqtt yesterday. But the plug still reacts on using the two top-buttons of the switch. So how does this UNBIND work? Pair the ...
- Tuesday 05 May 2020 10:01
- Forum: Zigbee
- Topic: Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
- Replies: 6
- Views: 621
Re: Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
We have just implemented the support of those Switches on Zigate, and indeed by default they are broadcasting commands, so you will On/Off/Dim ... will be send to all devices on your network which are able to understand such command. Do you know if it can be turned off? Otherwise the switch is ...
- Sunday 26 April 2020 22:16
- Forum: dzVents
- Topic: Prevent runtime errors. [Solved]
- Replies: 7
- Views: 1090
Re: Prevent runtime errors. [Solved]
Yes you can get an Error message but the script will continue (at least it does on my systems (dzVents 3.0.2) Just updated to 20202.2, to be sure... I'll feel sighted blind, but eventually solved the mistery: local lodash = dz.utils._ local json = dz.utils.fromJSON(item.data) if json == nil then dz ...
- Sunday 26 April 2020 17:57
- Forum: dzVents
- Topic: Prevent runtime errors. [Solved]
- Replies: 7
- Views: 1090
Re: Prevent runtime errors. [Solved]
If item.data is not in the right JSON format you will get an error message but the script will not fail. Item.data will be nil and that is something that can be handled in your script logic. Unfortunately not always. With this url you're right! https://domoticz/json.htm?type=command¶m ...
- Sunday 26 April 2020 14:22
- Forum: dzVents
- Topic: Prevent runtime errors. [Solved]
- Replies: 7
- Views: 1090
Re: Prevent runtime errors. [Solved]
Why would pcall couldn't be called there? What behavior do you expect? I think my knowledge of lua is still far too limited... :oops: local ok, json = pcall(dz.utils.fromJSON, item.data) Ah, I did not know that I could put json as the second variable. and for the custom script, you just wrap your ...
- Sunday 26 April 2020 13:04
- Forum: dzVents
- Topic: Prevent runtime errors. [Solved]
- Replies: 7
- Views: 1090
Prevent runtime errors. [Solved]
I've been working with customEvents and it is helpfull to reduce (duplicate) code in other scripts, so they will be easier to maintain. E.g.: local up = "Up" local down = "Down" return { on = { customEvents = { 'BedieningRolluiken' } }, logging = { level = domoticz.LOG_ERROR, marker = "Bediening ...
- Friday 24 April 2020 21:35
- Forum: Zigbee
- Topic: Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
- Replies: 6
- Views: 621
Strange conduct Aqara Opple (6 buttons) and Osram Smart Plug
Today I've received an Aqara Opple (6 button) and I've tried to use it with zigbee2mqtt, but until now no success. But that's not a problem right now, in the coming weeks I've plenty of time to discover that. The strange thing is that if I press the top-right-button my Osram Plug is switched on and ...
- Saturday 18 April 2020 12:32
- Forum: Zigbee
- Topic: Zigbee2MQTT not working anymore
- Replies: 4
- Views: 890
Re: Zigbee2MQTT not working anymore
Thnxs for sharing!
Never thought of restarting Domoticz seperately...
Strange though that mosquitto_sub does show the messages either:
Code: Select all
mosquitto_sub -d -t $SYS/#
- Monday 13 April 2020 16:14
- Forum: Zigbee
- Topic: Zigbee2MQTT
- Replies: 264
- Views: 87542
Re: Zigbee2MQTT
Since a week I have troubles to get zigbee2mqtt going. I've since then started with a new raspberry pi 3B+ with buster and installed Domoticz on it with zigbee2mqtt. (And mosquitto and Node-RED and ...) I've used the backup of the old Domoticz to get me going on the new pi. But although I can send ...
- Sunday 12 April 2020 15:01
- Forum: Other questions and discussions
- Topic: Can' get MQTT run as a service after update to Buster
- Replies: 1
- Views: 1628
Re: Can' get MQTT run as a service after update to Buster
I thought I solved it by completely remove mosquitto from the raspberry. Issued following command: sudo wget http://repo.mosquitto.org/debian/mosquitto-buster.list and then adding it again... Aaaarrrrgggghhhh. :oops: In the end it was simply the wrong password filename in the config (passwd instead ...
- Saturday 11 April 2020 23:34
- Forum: Other questions and discussions
- Topic: Can' get MQTT run as a service after update to Buster
- Replies: 1
- Views: 1628
Can' get MQTT run as a service after update to Buster
Hi, I'm trying to move my Domoticz stuff to a Raspberry with Buster. Domoticz I've installed without a prroblem, but the Mosquitto broker I cannot get it to run as a service: sudo service mosquitto status returns [quote ]● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker Loaded: loaded (/lib/s ...
- Thursday 09 April 2020 21:51
- Forum: Python
- Topic: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
- Replies: 18
- Views: 7732
Re: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
Minor detail...
First upgrade to Buster this weekend, then I'll look into it.
Thanks!

First upgrade to Buster this weekend, then I'll look into it.
Thanks!
- Sunday 05 April 2020 14:20
- Forum: Zigbee
- Topic: Zigbee2MQTT not working anymore
- Replies: 4
- Views: 890
Zigbee2MQTT not working anymore
Hi, Yesterday I thought that only adding a new motionsensor was not working, today I discovered that Zigbee2MQTT isn't working at all.. My config: homeassistant: false permit_join: true mqtt: base_topic: zigbee2mqtt server: 'mqtt://localhost' user: sameUser password: samePassword serial: port: /dev ...
- Sunday 05 April 2020 11:17
- Forum: Zigbee
- Topic: Zigbee2MQTT to much logging
- Replies: 2
- Views: 302
Re: Zigbee2MQTT to much logging
It probably has something to do with Node-RED, as I'm haven't seen this in my configuration without Node-RED.
How did you configure Zigbee2MQTT?
How did you configure Zigbee2MQTT?
- Saturday 04 April 2020 21:09
- Forum: LUA
- Topic: GarbageCalendar (new version) lua scripts
- Replies: 461
- Views: 68327
Re: GarbageCalendar (new version) lua scripts
ximmio is a bit of a special and guess you missed this comment for m_ximmio in the config: Hostname = '' -- Specify the hostname of your website. Only needed for: m_opzet ; m_opzet_api ; -- OR Specify the companycode for the m_ximmio.lua module. See m_ximmio.lua on how to find this code. Of course ...
- Saturday 04 April 2020 18:51
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 84742
Re: Python Plugin: Zigbee2Mqtt
I'm using several Aqara switches and two motionsensors. Now i would like to add a third motionsensor, but although i've enabled "Accept new Hardware Devices" no device is added. Instead i get the message: 2020-04-04 18:50:28.076 (Zigbee2MQTT) MQTT message: zigbee2mqtt/MotionSensor3 {'illuminance ...
- Saturday 04 April 2020 18:37
- Forum: LUA
- Topic: GarbageCalendar (new version) lua scripts
- Replies: 461
- Views: 68327
Re: GarbageCalendar (new version) lua scripts
I've try to run the script sudo lua script_time_garbagecalendar.lua My garbagecalendarconfig.lua myGarbageDevice = 'Container' -- The Text devicename in Domoticz ShowNextEvents = 3 -- indicate the next x events to show in the TEXT Sensor in Domoticz Zipcode = '6711KM' -- Your zipcode Housenr = '71 ...
- Saturday 04 April 2020 15:31
- Forum: Python
- Topic: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
- Replies: 18
- Views: 7732
- Sunday 05 January 2020 21:52
- Forum: Other questions and discussions
- Topic: Updating devices of a scene
- Replies: 5
- Views: 577
Re: Updating devices of a scene
If you look in dzVents/runtime/Utils.lua of a recent Beta and search for stringSplit you will find the function self.stringSplit You can copy that function and merge it into the script as At first it did not work.... Until I saw that ds.utils.stringSplit was not correct... :o Same approach could be ...