Search found 9 matches

by suborb
Thursday 27 July 2017 10:03
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537472

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

The order of the actions changed to support the square button, so you'll need to edit the switch and change the order.

The new order is: Off, Click, Double Click, Long Click, Long Click Release
by suborb
Thursday 13 July 2017 9:30
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537472

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

HI, I think someone already post a question. I have on new temperature sensor ordered from gearbest, cube shape, with additional pressure sensor. Can someone confirm that he had in domoticz sensor registered or we need to wait for update on code. Problem with android is resolved I can add sensor ...
by suborb
Thursday 15 June 2017 22:56
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

Re: HuaFan Wifi Switch

That's a shame. I'm guessing that the hf app doesn't show it either? If it does then you'll have to sniff the network traffic (easy if your AP is OpenWRT/ubnt) and feed the messages into the decode function of the script. I've just re-read, and it looks like it's only the HF-W0B that supports ...
by suborb
Tuesday 23 May 2017 23:45
Forum: Python
Topic: Python Plugin: Galcon 9001BT
Replies: 0
Views: 651

Python Plugin: Galcon 9001BT

I've quickly knocked up a plugin for this Bluetooth LE irrigation controller. Plugin can be found here: https://github.com/suborb/GalconController bluepy is required (pip3 install bluepy) The controller should be setup using the app, the domoticz plugin simply sends a manual valve on/valve off - you ...
by suborb
Saturday 20 May 2017 23:56
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

Re: HuaFan Wifi Switch

Can you share how you flashed new firmware on it? I didn't get around to tracing the pins since I got it working, but I think I can sacrifice one switch to experiment with.
by suborb
Thursday 18 May 2017 0:04
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

Re: HuaFan Wifi Switch

Sorry I missed your question. The encryption key is the same for all flavours of the switch as far as I can tell. The switch just won't respond if it doesn't understand the message. So try changing the commands so they are AT+CLOSE rather than AT+SCLOSE etc - that's worked for some other flavours of ...
by suborb
Wednesday 21 December 2016 1:07
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

Re: HuaFan Wifi Switch

Yes they can be setup locally without a cloud connection.

Details on the readme on the project but you send an AT+SSIDINFO to configure the network then an AT+SAPSTA to switch to station mode.

The standard commands I tried had no response.
by suborb
Tuesday 20 December 2016 17:28
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

Re: HuaFan Wifi Switch

I didn't realise that a Python hardware interface was in development. So, I've created a python plugin to control these without the need for cron, external scripts etc. It's available from the repo mentioned in the previous post. Just copy domoticz/huafanwifiswitch.py into the plugins folder, remove ...
by suborb
Friday 16 December 2016 22:14
Forum: Python
Topic: HuaFan Wifi Switch
Replies: 16
Views: 4034

HuaFan Wifi Switch

These are fairly cheap wifi switches (about £10) that also measure power usage, as usual they are limited to 10A so not great for appliances, but given the time of year worked well for controlling Christmas lights. As you'd expect they use an esp8266. By default these plugs phone home and I'm not so ...