Hi @corbin,
Please look this topic
viewtopic.php?f=17&t=16849&hilit=mi+socket
Thanks
Search found 22 matches
- Saturday 29 April 2017 17:06
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
- Friday 10 March 2017 10:33
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hello. I have a problem :( My motion sensor and door sensor always "on". 1489138309778screensave.png Why? In logs all good: 2017-03-10 11:20:20.274 {"cmd":"report","model":"magnet","sid":"158d0001067c44","short_id":43290,"data":"{\"status\":\"open\"}"} 2017-03-10 11:20:31.471 XiaomiGateway: not ...
- Tuesday 07 February 2017 9:20
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hi, @corbin After update from your repository, stopped working motion detector and door opening sensor. When I update hardware, I see 2 new devices (switch). What is it ? 2017-02-07 10:09:40.492 XiaomiGateway: stopped 2017-02-07 10:09:40.492 XiaomiGateway: Worker started... 2017-02-07 10:09:40.584 ...
- Monday 23 January 2017 12:06
- Forum: PHP and all others
- Topic: On/Off action php
- Replies: 5
- Views: 3679
Re: On/Off action php
Create a new sh file with code:
And in action paste
Code: Select all
#!/usr/bin/php
<?php
//here your php code
?>
Code: Select all
script:///home/pi/domoticz/scripts/file.sh
- Monday 23 January 2017 9:55
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Now everything is good) Thanks)corbin wrote:It compiled OK on Windows, but not Linux as you found. I've updated and tested that it works on Linux now.vetalok wrote: I have a problem with compilation your last version:
Maybe you are not commit all files?
- Monday 23 January 2017 8:53
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
As they are not translated, they might be really new. Not seeing them on the gateway, I've got them on my other RGB lights though. Changed the gateway to a white light so I could test. Updated code to handle the brightness up and down buttons - https://github.com/corbinmunce/domoticz/commit ...
- Thursday 19 January 2017 8:48
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Emm... When I enable LED from MiHome - Domoticz off light I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working? Problem fixed) Thank ...
- Wednesday 18 January 2017 11:10
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Emm... When I enable LED from MiHome - Domoticz off light I've made a couple of changes, you will now need to turn the light on from the app to get it to detect in Domoticz, and I've added some extra log output. Can you try that and post the output if it still isn't working? Yes I can. I will test ...
- Wednesday 18 January 2017 11:06
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Received a box of Xiaomi sensors in the mail today, super impressed by the quality of the hardware, it's a lot smaller than I expected which opens up new possibilities for putting motion sensors around the place. Opened each sensor and recorded the battery models (I have so many sensors from so ...
- Tuesday 17 January 2017 14:19
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Having a problem to convert the Domoticz Hue value into RGB for the gateway now... http://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb-in-range-0-255-for-both There is a hue2rgb function already but I might be using it wrong, will try some other functions too ...
- Tuesday 17 January 2017 9:15
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
http://stackoverflow.com/questions/3018 ... 5-for-bothcorbin wrote: Having a problem to convert the Domoticz Hue value into RGB for the gateway now...
- Tuesday 17 January 2017 9:01
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Can everyone that knows the sid of their gateway, report it here? {"cmd":"iam","port":"9898","sid":"f0b4299ae4b8","model":"gateway","ip":"192.168.5.15"} I want to see if I can shorten f0b4299ae4b8 so it can be converted to an int value. ('received message:', '{"cmd":"heartbeat","model":"gateway ...
- Monday 16 January 2017 18:32
- Forum: Suggestions
- Topic: Barometer values also in mmHg
- Replies: 1
- Views: 1198
Re: Barometer values also in mmHg
also interested this issue
- Friday 13 January 2017 19:26
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hello everybody.
How are you with the ability to control:
1) Gateway LED (on/off, color)
2) Gateway Alarm (maybe radio)
3) Mi Socket V2 (WiFi)
It's really do?
How are you with the ability to control:
1) Gateway LED (on/off, color)
2) Gateway Alarm (maybe radio)
3) Mi Socket V2 (WiFi)
It's really do?
- Saturday 31 December 2016 11:26
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
https://pypi.python.org/pypi/pdbx/0.3.0corbin wrote:Do you know what is already using port 9898? I guess my code still crashes - which I would like to fix, but you can't be running two sockets on the same port.
Remote PDB Debugger use port 9898
- Saturday 31 December 2016 10:54
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
It means that something using 9898 port. netstat -tulpn part from my pi: udp 0 0 0.0.0.0:9898 0.0.0.0:* 4748/domoticz What is in your case? netstat -tulnp | grep 9898 udp 2496 0 0.0.0.0:9898 0.0.0.0:* 30151/python
- Saturday 31 December 2016 10:46
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Hah... problem fixed when I changed port on line XiaomiGateway.cpp: 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)) 9898 to 9899
- Saturday 31 December 2016 10:39
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
OK, building... Thank you! I hope to get it working for you. Oh.. =((( 2016-12-31 11:33:49.388 Domoticz V3.6253 (c)2012-2016 GizMoCuz 2016-12-31 11:33:49.388 Build Hash: 928fcd1, Date: 2016-12-31 11:06:24 2016-12-31 11:33:49.389 Startup Path: /home/vetal/domoticzv3/domoticz/ 2016-12-31 11:33:49.494 ...
- Saturday 31 December 2016 10:20
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
I had same error when HomeAssistant ran in the background. After stoping and disabling this service no more errors. I've changed my code at https://github.com/corbinmunce/domoticz to set the "reuse_address" option before sending the device discovery message, which may fix this problem. Could you ...
- Saturday 31 December 2016 10:08
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 528024
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Yes. System crashed and not restarted. Only If I delete a domoticz.db file, the system runs. What am I doing wrong? Why do I have this issue? It might be another program listening on UDP. I will try to stop the crash in my code. Are you running other programs or plugins that could be conflicting ...