


Moderator: leecollings
Currently mapped like this, could change long click release to another button or send the off command?levynger wrote: the Long Press appears twice in logs (one for press and once for release i assume)
Code: Select all
else if ((status == "click")) {
level = 10;
}
else if ((status == "long_click_press") || (status == "long_click_release")) {
level = 20;
}
else if ((status == "double_click")) {
level = 30;
}
Try deleting the hardware for Xiaomi Gateway, then add it back in.murtadin wrote:I deleted all devices and domoticz do not detect any attached device now.
Thanks, have fixed in my repository too.vetalok wrote:Hah... problem fixed when I changed port on line
XiaomiGateway.cpp:9898 to 9899Code: Select all
XiaomiGateway::xiaomi_udp_server::xiaomi_udp_server(boost::asio::io_service& io_service, int m_HwdID, XiaomiGateway *parent) : socket_(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 9898))
tried yesterday 10 times. No luck. Today tried one more time, changed port to 54321and it works.corbin wrote:Try deleting the hardware for Xiaomi Gateway, then add it back in.murtadin wrote:I deleted all devices and domoticz do not detect any attached device now.
There isn't an API for the cube known as yet - but if a way to interact with it is discovered support will be added.murtadin wrote: tried yesterday 10 times. No luck. Today tried one more time, changed port to 54321and it works.
btw - support of xiaomi cube comtroller will be implemented?
Hi, I can't to answer about plug/socket, I'm from Russia and I'm using a adapter, but I have a dog, 40kg, sometimes a sensor is alarming.Swifty wrote:Very tempted to order a sample kit of the xaiomi sensors + gateway, but I have a few questions, if anyone who already owns could answer?
- Is the plug on the gateway available in UK spec? - the gateway looks a little big to be hanging off an adaptor socket..
- Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
Code: Select all
Name: Test
ASCII: {"cmd":"whois"}
Address: IP Address of your gateway
Port: 4321
UDP
I've tried a store purchased sensor, home made sensors, and now the Xiaomi sensor, and have found the Xiaomi to work best with less false-positives. Xiaomi call it a "Human Body Sensor", but as Coldman has replied, it will detect a large dog, and maybe a cat (I have neither)Swifty wrote: - Is the motion sensor pet tolerant? - I have a cat and would like to use the motion sensors for alarm purpose without the cat tripping it.
Notification from door sensor (telegram notification in my case) comes almost immediately after door was opened. There is practically no delay at all. Same with motion sensor.ben53252642 wrote: What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
1 secben53252642 wrote:Wow! I currently pay $90 AU for motion sensors avg, I can get the Xiaomi motion sensor for $18 AU. Very tempted to buy a few sensors.
What is the delay like between a motion sensor being triggered and reporting to Domoticz compared to say a Z-Wave motion sensor?
Has anyone seen a battery level report yet?
Users browsing this forum: No registered users and 1 guest