Search found 398 matches

by ben53252642
Sunday 19 August 2018 20:30
Forum: Temperature and Weather
Topic: MQTT format for Temp & humidity
Replies: 6
Views: 1986

Re: MQTT format for Temp & humidity

Solution for sending Temp + Hum + Baro to a single sensor in Domoticz via MQTT

viewtopic.php?f=68&t=23607&start=40#p189095
by ben53252642
Sunday 19 August 2018 19:23
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

EddyG thanks for putting together the flow for the Xiaomi Temp + Hum + Baro sensor (saved me a lot of time!) I've modified it slightly for a sensor that I just installed (also Xiaomi) but it's for Temp + Hum + Baro in a single sensor. Also corrected a error RE the battery status, the word battery ne...
by ben53252642
Saturday 18 August 2018 20:39
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Yea i know the Xiaomi devices have pretty good battery lives. The smoke detector for instance sends after I push the test button: smoke, voltage, battery After some time it starts only sending voltage, battery I've worked around it in Node-Red by sending the off command to Domoticz along with batter...
by ben53252642
Saturday 18 August 2018 19:34
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Any idea how to update the battery status of a device without setting it to On or Off or must I set the On / Off state at the same time?
by ben53252642
Thursday 16 August 2018 14:53
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Zigbee2MQTT is a very active project and the Wiki explains how users can add support for new devices.

It has MASSIVE device support and with Home Assistant having added support for it, it's looking like it might become the Zigbee equivalent of OpenZWave.
by ben53252642
Thursday 16 August 2018 10:18
Forum: LUA
Topic: Lua scripts from Pi to win - not working
Replies: 1
Views: 191

Re: Lua scripts from Pi to win - not working

curl will not work on Windows, you need to use Linux (eg Raspberry Pi, or Ubuntu / Debian). Now I'm sure someone here will try and tell me that curl can work on Windows somehow with modifications but I'm just saying, it's not included by default. You are better off running Domoticz on Linux, if you ...
by ben53252642
Thursday 09 August 2018 21:25
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

EddyG thanks to help from JVDZ it is possible to send the battery status to devices via MQTT

viewtopic.php?f=56&t=24419&p=188355#p188355

Screen Shot 2018-08-10 at 5.24.22 am.png
Screen Shot 2018-08-10 at 5.24.22 am.png (56.26 KiB) Viewed 380 times
by ben53252642
Thursday 09 August 2018 20:59
Forum: Others
Topic: MQTT Battery Level Not Working
Replies: 4
Views: 636

Re: MQTT Battery Level Not Working

Problem solved thanks to jvdz example. https://github.com/domoticz/domoticz/issues/2618 What to send via MQTT to Domoticz (in this case to a selector switch). msg.payload.idx = 1213 ; msg.payload.nvalue = 2 ; msg.payload.level = level; msg.payload.svalue = level.toString(); msg.payload.Battery = bat...
by ben53252642
Wednesday 08 August 2018 20:21
Forum: Others
Topic: MQTT Battery Level Not Working
Replies: 4
Views: 636

Re: MQTT Battery Level Not Working

Anyone?

I've spent about 5 hours trying to get a battery level entered into a device via MQTT without success, it IS possible with JSON.

Seems to me MQTT is lagging behind the JSON interface.
by ben53252642
Wednesday 08 August 2018 1:27
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Xiaomi Mi power plug ZigBee (on/off, power measurement) Model: ZNCZ02LM https://github.com/Koenkk/zigbee2mqtt/wiki/Supported-devices Control power plug on / off from Domoticz Received power usage in Domoticz sensor [{"id":"bfb978ea.1c29a8","type":"mqtt in","z":"f962b96d.7044c8","name":"","topic":"do...
by ben53252642
Tuesday 07 August 2018 18:11
Forum: Others
Topic: MQTT Battery Level Not Working
Replies: 4
Views: 636

MQTT Battery Level Not Working

Hey Folks, For some reason sending battery level to a switch or selector switch in Domoticz via MQTT does not work. In the below example (link) I am able to control the device but the battery level is simply ignored. https://www.domoticz.com/forum/viewtopic.php?f=68&t=23607&start=20#p188171 I am sen...
by ben53252642
Tuesday 07 August 2018 17:46
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Xiaomi Button Model: WXKG01LM Functions: * Click * Double Click * Triple Click * Many Click * Long Click Create selector switch in Domoticz with levels (in order): click 10 double 20 triple 30 many 40 long 50 Enter the Zigbee ID into the "Xiaomi Button" MQTT then enter the IDX into the Node Red "For...
by ben53252642
Tuesday 07 August 2018 15:39
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

This afternoon 3x CC2531 and 1x CC Debugger arrived, Was able to program all 3 CC2531's in about 5 minutes total, note use the debug cable for the CC2531's not the one that came in the CC Debugger box (I was not able to get a green light with that cable). Got a Xiaomi push button connected via zigbe...
by ben53252642
Monday 06 August 2018 23:18
Forum: Z-Wave
Topic: OpenZWave: Received timeout notification
Replies: 35
Views: 3922

Re: OpenZWave: Received timeout notification

I think I'm going to solder a antenna onto my razberry. The node I have most problem with is one that is placed normally behind my computer in the room next to my controller. Keeping that node in the same room as the controller it works fine. Forgot to mention, I tried that as well (soldering an an...
by ben53252642
Monday 06 August 2018 20:20
Forum: Blockly
Topic: A second click within 10 seconds to freeze blinds going up/down?
Replies: 8
Views: 279

Re: Stopping blinds after 10 seconds?

It's really easy with a Lua device script, I've got a "Blinds Cat Mode" which stops the blinds after 19 seconds which is just high enough for them not to be able to paw at them. eg: commandArray = {} if (devicechanged['Living Room Blinds Cat Mode'] == 'On' and otherdevices['Living Room Left Blind'] ...
by ben53252642
Monday 06 August 2018 19:33
Forum: Z-Wave
Topic: OpenZWave: Received timeout notification
Replies: 35
Views: 3922

Re: OpenZWave: Received timeout notification

Just want to say that for some parts of my network that "often do not function as expected" Eg, I'll walk into the bathroom and it could take 10 seconds for the light to turn on which is unacceptable, I've applied predictive logic to try and overcome the problem. Eg, If I walk into the hallway, THAT...
by ben53252642
Monday 06 August 2018 18:49
Forum: Other questions and discussions
Topic: How to get temperature from via JSON call from Domoticz?
Replies: 8
Views: 330

Re: How to get temperature from via JSON call from Domoticz?

elmortero wrote:
Monday 06 August 2018 18:46
Or you use dzVents.
Then you could do something like:
local temperature = domoticz.devices('NAMEOFTHESENSOR').temperature

:-D
Depends what you are trying to do. 8-)
by ben53252642
Monday 06 August 2018 18:42
Forum: Other questions and discussions
Topic: How to get temperature from via JSON call from Domoticz?
Replies: 8
Views: 330

Re: How to get temperature from via JSON call from Domoticz?

Thank you, I'll continue with the above to pick out what I need; that really helps out. Note that the raw output from the JSON was: "20.6 C" This removes the quotes: | sed 's/\"//g' This part on the end displays only the first part of the string: | awk '{ print $1 }' Get's 20.6 If you only wanted t...
by ben53252642
Monday 06 August 2018 18:12
Forum: Other questions and discussions
Topic: How to get temperature from via JSON call from Domoticz?
Replies: 8
Views: 330

Re: How to get temperature from via JSON call from Domoticz?

JSON is a format that you need to learn how to navigate. For example this linux bash command gets only the temperature. Make sure you have jq installed: apt-get install jq curl -s 'http://username:password@ipaddress/json.htm?type=devices&rid=778' | jq .result[0].Data | sed 's/\"//g' | awk '{ print $...
by ben53252642
Sunday 29 July 2018 8:16
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 46
Views: 2978

Re: Zigbee2MQTT

Would it theoretically be possible to turn this into a python plugin? Or to integrate this into Domoticz? Theoretically yes, it's definately possible to create a Python plugin. Given the extraordinary device support and that Home Assistant have now created their own plugin, I think a Domoticz plugi...