Search found 20 matches

by PatrickM
Tuesday 04 September 2018 12:00
Forum: Python
Topic: Python plugin: Xiaomi Mi Flower Mate
Replies: 99
Views: 28226

Re: Python plugin: Xiaomi Mi Flower Mate

I'm very interested in this but can't make it run reliably either. After a couple of hours there's a bluetooth error and this breaks the domoticz python plugin system. I've modified the script to catch exceptions, updated miflora, attempt better error handling etc. to no avail. The way python ...
by PatrickM
Tuesday 04 September 2018 11:13
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1108
Views: 201865

Re: Python plugin: Presence detection from wireless router

The plugin works great for me, after making some modifications. I run a router with openwrt/lede based firmware with grep supplied by busybox. Patterns like grep '^eth\|^wlan\|^ath' don't work properly, only matching lines starting with eth. Changing to grep -E '^eth|^wlan|^ath' fixes that and ...
by PatrickM
Monday 07 August 2017 20:28
Forum: dzVents
Topic: How to handle duplicate events
Replies: 15
Views: 3319

Re: How to handle duplicate events

I didn't know Lua doesn't support milliseconds, log records of domoticz have milliseconds but that would be C code. I have a solution by comparing the value, I just thought it would be neat if you could get a more precise time diff ;-)
by PatrickM
Monday 07 August 2017 15:02
Forum: dzVents
Topic: How to handle duplicate events
Replies: 15
Views: 3319

Re: How to handle duplicate events

Thanks for the tip about using persistent data with history, however the timestamp doesn't provide enough resolution (no milliseconds)
by PatrickM
Tuesday 01 August 2017 21:30
Forum: dzVents
Topic: How to handle duplicate events
Replies: 15
Views: 3319

How to handle duplicate events

Sometimes I get duplicate events from my Fibaro Motion Sensor (and other devices as well). I'll get two updates with the same value, but for both events the device changed flag is true. How is the value of this boolean determined? From what I could tell from the raw data table, all attributes are ...
by PatrickM
Monday 19 December 2016 10:17
Forum: MySensors
Topic: Reconnect after connection loss
Replies: 3
Views: 1776

Re: Reconnect after connection loss

Was afraid I'd have to switch my device at least once per minute if I set the data timeout to 1 minute. But it seems to work fine, domoticz doesn't restart the thread when I don''t switch my device, but it does restart one minute after I disconnect. So maybe the gateway software has a builtin ...
by PatrickM
Sunday 18 December 2016 21:40
Forum: MySensors
Topic: Reconnect after connection loss
Replies: 3
Views: 1776

Reconnect after connection loss

Especially during development I often reboot MySensors nodes. Domoticz does not realize the connection needs to be reestablished. I have to manually disable and enable the device in domoticz to have it reconnect with the MySensors node. There must be a way to resolve this. Send heartbeats and have ...
by PatrickM
Saturday 05 November 2016 17:30
Forum: RFLink Transceiver
Topic: RFLink + X10 Transceiver
Replies: 3
Views: 1946

Re: RFLink + X10 Transceiver

Decided to give this another shot. Upgraded my RFLink to latest firmware and confirmed it's working with a FA500 (ProMax) receiver. But it simply doesn't work with the X10 RF receiver. With an X10 RF remote control, the following signals are received and the device responds fine: 20;66;X10;ID=46 ...
by PatrickM
Wednesday 02 November 2016 18:33
Forum: Switches and Scenes
Topic: Stopping blinds movement
Replies: 6
Views: 3436

Re: Stopping blinds movement

I've settled for the (dzVents) script below, which works reasonably well. There's some delay but most of it is caused by RFLink not receiving repeated button presses. I looks like it's 'deaf' for at least 1 sec. after receiving a button press. If there's any way to improve this all tips are welcome ...
by PatrickM
Tuesday 01 November 2016 11:32
Forum: Switches and Scenes
Topic: Stopping blinds movement
Replies: 6
Views: 3436

Stopping blinds movement

I'd like to control my Blinds Percentage device with a remote control, but using the script api, as far as I can tell, only allows to open or close it fully. What would be the best approach to stop it halfway? Similar questions have been asked before here and here and apparently some remotes (somfy ...
by PatrickM
Tuesday 02 August 2016 16:27
Forum: Z-Wave
Topic: Colors with Fibaro RGBW module
Replies: 11
Views: 4609

Re: Colors with Fibaro RGBW module

I have the Zipato RGBW Bulb. Same issue, it's never really worked properly. So I'm not using it on a daily basis, and usually after upgrading domoticz to a newer version I notice some difference in behaviour, if I happen to test it. I believe this light even has two white leds: warm and cold.
by PatrickM
Friday 29 July 2016 17:50
Forum: Other questions and discussions
Topic: New firmware from Qubino
Replies: 3
Views: 2841

Re: New firmware from Qubino

Is it only available in new modules or can you update the firmware of existing modules?
by PatrickM
Wednesday 06 July 2016 11:39
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

It also doesn't have GPS, I thought it did but it's the fake wifi-signals based gps. As you can guess it's a china tablet so comparing the specs to the actual hardware is.. interesting. Does it have GPS and camera? Yes GPS and camera (front + back) are available. I noticed the Kindle Fire, mentioned ...
by PatrickM
Sunday 03 July 2016 12:52
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

Does it have GPS and camera? Yes GPS and camera (front + back) are available. I noticed the Kindle Fire, mentioned in this thread, also doesn't have a vibrate function so you may be on to something. Can't imagine vibrate is essential for the app to work, so it's probably a case of changing a ...
by PatrickM
Saturday 02 July 2016 22:40
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

RoadXY wrote:Shouldn't be the CPU architecture.

Does your table have:
- Vibration
- GPS
- Camera
Built the app myself but trying to install it triggers the infamous apk parse error. Another unhelpful message.

I think the device doesn't have vibration. Tried Vibrate Tester but no vibration from my device.
by PatrickM
Saturday 02 July 2016 20:26
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

I also have the issue where Google Play doesn't let me install the app because my tablet is not compatible, unfortunately it doesn't tell me why :S

Could it be the Atom CPU, perhaps the app is only built for ARM?
by PatrickM
Monday 23 May 2016 11:09
Forum: RFLink Transceiver
Topic: RFLink + X10 Transceiver
Replies: 3
Views: 1946

Re: RFLink + X10 Transceiver

Yes domoticz creates devices automatically for the remote control. So traffic between RFLink <-> remote and X10 transceiver <-> remote is working, but between RFLink <-> X10 transceiver I don't get any response. I'll try to capture some raw data as soon as I have time to tinker with it.
by PatrickM
Sunday 22 May 2016 16:04
Forum: RFLink Transceiver
Topic: RFLink + X10 Transceiver
Replies: 3
Views: 1946

RFLink + X10 Transceiver

I have a X10 Transceiver that I'd like to use from domoticz by pairing it with an RFLink gateway. Can't get it to work but since this is my first time playing with RFLink maybe I'm doing it wrong. The RFLink seems to be working fine since it picks up some temp/hum sensors. It's the default kit sold ...
by PatrickM
Thursday 31 December 2015 14:47
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

Great work. Are there any plans to incorporate ssl client certificate validation? My setup is similar to the nginx proxy discussed on the wiki here I've had this working in the past so it should work now (can't test because had to reinstall my Raspberry Pi since I had issues and haven't had the ...
by PatrickM
Thursday 31 December 2015 14:25
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 638918

Re: Domoticz app 2.0

Great work. Are there any plans to incorporate ssl client certificate validation? My setup is similar to the nginx proxy discussed on the wiki here