Search found 266 matches

by EddyG
Tuesday 21 August 2018 9:01
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Yes, I did not test it properly, but took the wiki API documentation for true, which states default=12, but that gives a dash (-) in domoticz.
So I adapted the code to max 11.
by EddyG
Monday 20 August 2018 18:57
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Also corrected a error RE the battery status, the word battery needs to start with a capital B Yes, I also found out about the capital B. What you also can do is: replace all the 'delete msg.payload.xxx' with one single 'msg.payload = {};' I am also now on version: zigbee2mqtt version 0.1.3 and tha...
by EddyG
Saturday 18 August 2018 20:34
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

I don't think so. But what's the logic?
If you use a switch once a day the battery status is updated, that should be enough.
Lifetime of some Xiaomi devices extends to 3 years. So 1% degrade in aprox. 10 days. (if it was linear)
by EddyG
Friday 17 August 2018 15:49
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Indeed more complicated but also more flexible.
by EddyG
Friday 17 August 2018 15:47
Forum: Zigbee
Topic: zigate
Replies: 12
Views: 1331

Re: zigate

There is a differance between Zwave and Zigbee.
by EddyG
Friday 17 August 2018 15:44
Forum: Z-Wave
Topic: How to check health status of Domoticz processes like webserver
Replies: 4
Views: 129

Re: How to check health status of Domoticz processes like webserver

I use Monit to monitor all kind of processes, sd-card, disk etc... have alert send and restart domoticz if nessessary. Even reboot the system.
It works for me.
by EddyG
Tuesday 14 August 2018 16:41
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

I have looked a little bit further into the battery issue. Both battery level and voltage are send. The one that is sending 100% battery level has a voltage of 3.025 Volts That's more than the nominal voltage of the lithium cell. I suppose that the internal circuit of measuring voltage is not accura...
by EddyG
Sunday 12 August 2018 20:37
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Tnx. Yes, that was the trick. :D
Sometimes solutions are sooooo simple...
Pitty that the battery is 100%, although the sensor is already a few months in operation.
Other sensors show already 95%.
by EddyG
Saturday 11 August 2018 17:39
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Still having trouble with my RTCGQ01LM motion sensor (https://xiaomi-mi.com/sockets-and-senso ... cy-sensor/)
I can only get it working with a Domoticz switch changed to Switch Type 'Motion Sensor'
But that does not allow me to use 'udevice'
Any ideas?
by EddyG
Saturday 11 August 2018 7:32
Forum: Others
Topic: MQTT Battery Level Not Working
Replies: 4
Views: 657

Re: MQTT Battery Level Not Working

Tnx. :D It works for me too now.
It's strange that "Battery" seems to be case-sensitive, everything else is lowercase.
by EddyG
Tuesday 07 August 2018 19:48
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

Nice! :D Little trick for beter readability. This is my configuration.yaml file in my test enviroment. If you change 'friendly_name' to somewhat meaning full. That name will then be used as the topic name -> 'zigbee2mqtt/ZolderTHB' homeassistant: false permit_join: true mqtt: base_topic: zigbee2mqtt...
by EddyG
Monday 30 July 2018 14:42
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 519

Re: Last device IDX

If it's for this particular purpose, why not make a function that's easier to use: local function getNewIndex() local last_device = domoticz.devices().reduce(function(acc, device) if acc == nil or device.idx > acc.idx then acc = device end return acc end) if last_device == nil then domoticz.log("No...
by EddyG
Monday 30 July 2018 13:44
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 519

Re: Last device IDX

I was talking about virtual devices in my case. I did not read the wiki properly. And I was confused about the 'idx' mentioned there, I tought it was the device idx. I test again in my code if it does the job. TNX. Edit. I can create all kind of devices but not these. http://192.168.xxx.xxx:nnnn/jso...
by EddyG
Monday 30 July 2018 10:57
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 519

Re: Last device IDX

@waaren Sorry, tried the function, but the function gives back the latest 'active' device. :(
Any other ideas?
by EddyG
Monday 30 July 2018 10:09
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 519

Re: Last device IDX

Sorry for the delayed reaction (Weekend and nice weather ;) ) @waaren Tnx I will use that. As far I as saw you could create New devices in the Python plugin environment, but could not do that in the dzVents environment the same way. I am not a fan of the Python plugins due to the previous memory pro...
by EddyG
Saturday 28 July 2018 10:42
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 519

Last device IDX

I might have missed something, and could not find it either in wiki and forum. Is there a way to find the last IDX in Domoticz? I would like to have that to create a new customdevice with a certain name. At start of the script it could be tested if the device exists and set a marker that it is prese...
by EddyG
Wednesday 25 July 2018 11:56
Forum: Zigbee
Topic: Zigbee2MQTT
Replies: 52
Views: 3303

Re: Zigbee2MQTT

My finished version of getting data from 2 Xiaomi devices (PIR and Temp/Hum/Baro) into Domoticz. Put in a function to get all the devices in the network to the log in domoticz. And did some extra naming to the topics. [{"id":"74016149.f403","type":"mqtt in","z":"8188c534.77e7e8","name":"THB","topic"...
by EddyG
Wednesday 25 July 2018 9:53
Forum: RFLink Transceiver
Topic: how can i add Somfy blinds to Domoticz ? (i have de 433.92)
Replies: 12
Views: 885

Re: how can i add Somfy blinds to Domoticz ? (i have de 433.92)

Yes, that's all. If you act as the pages describe you can send your own unique codes, like I did with my RFXCOM hardware.
That worked for me, don know how.
Those RTS commands are not saved in the Domoticz database, so I think that RFLink saved those values.
by EddyG
Wednesday 25 July 2018 8:18
Forum: Z-Wave
Topic: Neo CoolCam PIR Temperature settings
Replies: 1
Views: 242

Re: Neo CoolCam PIR Temperature settings

I think that that device does not support those settings.
There is a: 7. Light Sensor Polling Interval
Lux and Temp come at the same interval.
by EddyG
Tuesday 24 July 2018 13:30
Forum: RFLink Transceiver
Topic: how can i add Somfy blinds to Domoticz ? (i have de 433.92)
Replies: 12
Views: 885

Re: how can i add Somfy blinds to Domoticz ? (i have de 433.92)

If you have an RFLINK with the right frequency for Somfy it's easy, at least it works for me.
Change Switch type of the device that is found by 'Accept new Hardware Devices' with the Edit button to Venetian Blinds EU.
2018-07-24_13-26-44.png
2018-07-24_13-26-44.png (15.04 KiB) Viewed 605 times