I added all the three pieces of code into the python scripts.
This is the output of a discovery of one of the three sensors
{
"endpointId": "Contact-222",
"friendlyName": "porta cucina",
"description": "Light/Switch",
"manufacturerName": "Zigbee2MQTT",
"displayCategories": [
"CONTACT_SENSOR ...
Search found 27 matches
- Saturday 22 August 2020 15:08
- Forum: Speech & Voice Systems
- Topic: Alexicz - FREE Domoticz to Alexa Integration
- Replies: 337
- Views: 83191
- Saturday 22 August 2020 10:29
- Forum: Speech & Voice Systems
- Topic: Alexicz - FREE Domoticz to Alexa Integration
- Replies: 337
- Views: 83191
Re: Alexicz - FREE Domoticz to Alexa Integration
I modified python scripts following your instructions and now the door sensors are shown as a contact but Alexa doesn't understand the query to know door status (open ad close). Any helps?
- Thursday 20 August 2020 16:33
- Forum: Speech & Voice Systems
- Topic: Alexicz - FREE Domoticz to Alexa Integration
- Replies: 337
- Views: 83191
Re: Alexicz - FREE Domoticz to Alexa Integration
Dear all, I added 3 aqara door sensors to domoticz using zigbee2mqtt. Alexa sees them but is unable to update the state.
If I change the switch type from door sensor to "on/off" the status is updated. Do you have a solution to solve this problem?
This is the json config of one of my aqara sensors ...
If I change the switch type from door sensor to "on/off" the status is updated. Do you have a solution to solve this problem?
This is the json config of one of my aqara sensors ...
- Tuesday 04 August 2020 14:14
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 93660
Re: Python Plugin: Zigbee2Mqtt
I also have the problem that the custom page for zigbee2mqtt don't show up in the menu. Also Copy manually the files to the www/template folder without succes.
Anyone have a workaround?
I solved the problem adding -wwwroot /usr/share/domoticz/www to systemd unit file
In this manner, the plugin ...
- Wednesday 15 July 2020 10:19
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 93660
Re: Python Plugin: Zigbee2Mqtt
I resolved manually copyng file from /var/lib/domoticz/www/templates/ to /usr/share/domoticz/www/templates.
Why the plugin doesn't detect the correct directory. Do I need to file a bug?
Why the plugin doesn't detect the correct directory. Do I need to file a bug?
- Wednesday 15 July 2020 9:17
- Forum: Python
- Topic: Python Plugin: Zigbee2Mqtt
- Replies: 347
- Views: 93660
Re: Python Plugin: Zigbee2Mqtt
Dear all,
finally, I managed to install my first Zigbee network so I installed this fabulous plugin.
Unfortunately, custom pages don't show up in the menu despite I found this entry in the log
(Zigbee2MQTT) Debug logging mask set to: PYTHON
2020-07-15 09:02:36.654 (Zigbee2MQTT) onStart called
2020 ...
finally, I managed to install my first Zigbee network so I installed this fabulous plugin.
Unfortunately, custom pages don't show up in the menu despite I found this entry in the log
(Zigbee2MQTT) Debug logging mask set to: PYTHON
2020-07-15 09:02:36.654 (Zigbee2MQTT) onStart called
2020 ...
- Tuesday 16 June 2020 8:41
- Forum: Zigbee
- Topic: xiaomi, mija or aqara hub ?
- Replies: 6
- Views: 1045
Re: xiaomi, mija or aqara hub ?
Thank you for your suggestions. I came to the same conclusions after reading a lot of documentation.

- Friday 12 June 2020 11:26
- Forum: Zigbee
- Topic: xiaomi, mija or aqara hub ?
- Replies: 6
- Views: 1045
xiaomi, mija or aqara hub ?
After another water leakage from my washer, I decided to acquire a water leak sensor compatible with Domoticz but, now, I'm stuck because I don't clearly understand which hub I should buy among the three in the subject.
Which one offers much compatibility with its accessories in Domoticz and the ...
Which one offers much compatibility with its accessories in Domoticz and the ...
- Monday 08 June 2020 10:54
- Forum: Utility
- Topic: Monitor windows server status
- Replies: 0
- Views: 438
Monitor windows server status
Dear all,
I need a method to monitor the state of my blue iris installation https://blueirissoftware.com/so in case something goes wrong (server or service down) domoticz can notify me with an alarm.
Any help will be appreciated.
I need a method to monitor the state of my blue iris installation https://blueirissoftware.com/so in case something goes wrong (server or service down) domoticz can notify me with an alarm.
Any help will be appreciated.
- Friday 22 May 2020 7:28
- Forum: dzVents
- Topic: publish data under specific MQTT topic [Solved]
- Replies: 17
- Views: 9411
Re: publish data under specific MQTT topic [Solved]
Thank you waaren
I used one minute delay only for testing purposes. My devices are updated every 15 minutes.
Your code taught me new tricks about dzVents
I used one minute delay only for testing purposes. My devices are updated every 15 minutes.
Your code taught me new tricks about dzVents
- Thursday 21 May 2020 16:50
- Forum: dzVents
- Topic: publish data under specific MQTT topic [Solved]
- Replies: 17
- Views: 9411
Re: publish data under specific MQTT topic [Solved]
Thank you @wareen !!
I slightly modify your code to publish three devices via MQTT.
Because I'm a novice of dzVents, any suggestion about the code will be very appreciated.
--local myDevicename = 148 -- change to the name of the device that will trigger this script
local MyDevices = {146,149 ...
I slightly modify your code to publish three devices via MQTT.
Because I'm a novice of dzVents, any suggestion about the code will be very appreciated.
--local myDevicename = 148 -- change to the name of the device that will trigger this script
local MyDevices = {146,149 ...
- Thursday 21 May 2020 9:15
- Forum: dzVents
- Topic: publish data under specific MQTT topic [Solved]
- Replies: 17
- Views: 9411
publish data under specific MQTT topic [Solved]
Hi to everyone,
I have a magicmirror module that subscribes to tasmota MQTT topic and, using json pointer, displays data on my monitor.
Now I need to subscribe to information available only in domoticz (like a custom monthly power consumption)
I tried to use it subscribing to domoticz/out but I didn ...
I have a magicmirror module that subscribes to tasmota MQTT topic and, using json pointer, displays data on my monitor.
Now I need to subscribe to information available only in domoticz (like a custom monthly power consumption)
I tried to use it subscribing to domoticz/out but I didn ...
- Tuesday 19 May 2020 8:48
- Forum: Utility
- Topic: integrate domoticz with MagicMirror
- Replies: 2
- Views: 1801
integrate domoticz with MagicMirror
Hi to all,
I would display some data fetched from domoticz to my MagicMirror installation.
Do you know any working plugin that is capable of such integration ?
I tried with no so good results this module https://github.com/SpoturDeal/MMM-Domoticz.
I would display some data fetched from domoticz to my MagicMirror installation.
Do you know any working plugin that is capable of such integration ?
I tried with no so good results this module https://github.com/SpoturDeal/MMM-Domoticz.
- Wednesday 13 May 2020 15:31
- Forum: Blockly
- Topic: button pressed vs script activating
- Replies: 3
- Views: 580
button pressed vs script activated [SOLVED]
I solved with this script
and this rule in tasmota
rule1 on Button1#state=2 do backlog publish domoticz/in {"command":"setuservariable","idx":4,"value":"2"}; POWER TOGGLE ENDON
where idx 4 is ID of variable stato_cappa
rule1 on Button1#state=2 do backlog publish domoticz/in {"command":"setuservariable","idx":4,"value":"2"}; POWER TOGGLE ENDON
where idx 4 is ID of variable stato_cappa
- Saturday 09 May 2020 17:21
- Forum: Blockly
- Topic: button pressed vs script activating
- Replies: 3
- Views: 580
Re: button pressed vs script activating
How can I set a user variable when i push the button on sonoff?
Thanks
Thanks
- Friday 08 May 2020 13:43
- Forum: Blockly
- Topic: button pressed vs script activating
- Replies: 3
- Views: 580
button pressed vs script activating
I have a blocky script than activate/deactivate a venting fan based on humidity value. The script works ok but I would like to override this behavior pushing the sonoff basic button that controls the fan. So, if I will press the button the fan should stay on until I will press the button again ...
- Friday 13 March 2020 16:17
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 234442
Re: Python plugin: Presence detection from wireless router
EscAPe you are right when you think that wlanconfig atX lists only the devices directly connected to node.
Looking around router html pages I found that web interface call /usr/sbin/networkmap. The command source code https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/networkmap ...
Looking around router html pages I found that web interface call /usr/sbin/networkmap. The command source code https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/networkmap ...
- Friday 13 March 2020 10:28
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 234442
Re: Python plugin: Presence detection from wireless router
After a systemctl restart, the plugin started normally. But after that, I had another problem.
The Mac address list was very very partial (I have more than 30 devices) so the present detection was not very reliable.
2020-03-13 10:15:28.138 (iDetect) 192.168.1.1 Timed poll starting like clockwork ...
The Mac address list was very very partial (I have more than 30 devices) so the present detection was not very reliable.
2020-03-13 10:15:28.138 (iDetect) 192.168.1.1 Timed poll starting like clockwork ...
- Thursday 12 March 2020 14:09
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 234442
Re: Python plugin: Presence detection from wireless router
Good mornig to all,
I installed this plugin in my domoticz installation, but the detection happens only once after the first setup.
The plugin doesn't seem to run. I tried to change the schedule time without result.
The domoticz log is clear and doesn't report any errors.
I installed this plugin in my domoticz installation, but the detection happens only once after the first setup.
The plugin doesn't seem to run. I tried to change the schedule time without result.
The domoticz log is clear and doesn't report any errors.
- Tuesday 25 February 2020 11:49
- Forum: Switches and Scenes
- Topic: Ifan03 support
- Replies: 1
- Views: 327
Re: Ifan03 support
I think that the problem is related to the fact that Ifan03 expects command Fanspeed:{1-3} but Domoticz sends another command.