Xiaomi Smart Home Suite (very cheap) compatibilty?

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by TigroEHOT »

2017-06-19 22:04:46.533 XiaomiGateway: unhandled model: ctrl_ln1
2017-06-19 22:04:46.533 {"cmd":"report","model":"ctrl_ln1","sid":"158d00012a35e7","short_id":24692,"data":"{\"channel_0\":\"off\"}"}
warmaniac
Posts: 24
Joined: Wednesday 12 April 2017 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by warmaniac »

corbin wrote:@langoo and @TigroEHOT

When it reports 'unhandled model', it should say what the name is, ie

Code: Select all

XiaomiGateway: unhandled model: tempsensor
I need to know what the name is (tempsensor in the above example) and what device it is. Also will need an example of the raw message output - enable raw gateway messages - see https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting
nothing new for me , have 2 pcs new Aqara magnet door/window plus 2pcs Aqara Temperature/Humidity/Pressure sensors

Code: Select all

2017-06-19 14:22:49.464 2017-06-19 14:22:49.464 XiaomiGateway: unhandled model:
2017-06-19 14:22:49.465 2017-06-19 14:22:49.465 {"cmd":"read_ack","model":"","sid":"158d00017200ff","short_id":26405,"data":"{\"voltage\":3015}"}
2017-06-19 14:22:49.466 2017-06-19 14:22:49.466 XiaomiGateway: unhandled model:
2017-06-19 14:22:49.466 2017-06-19 14:22:49.466 {"cmd":"read_ack","model":"","sid":"158d0001a4c79e","short_id":44567,"data":"{\"voltage\":3005}"}
2017-06-19 14:22:49.467 2017-06-19 14:22:49.467 XiaomiGateway: unhandled model:
2017-06-19 14:22:49.467 2017-06-19 14:22:49.467 {"cmd":"read_ack","model":"","sid":"158d00016c3e55","short_id":55642,"data":"{\"voltage\":3045}"}
2017-06-19 14:22:49.467 2017-06-19 14:22:49.467 XiaomiGateway: unhandled model:
2017-06-19 14:22:49.468 2017-06-19 14:22:49.468 {"cmd":"read_ack","model":"","sid":"158d00016c402b","short_id":30460,"data":"{\"voltage\":3035}"}
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post by SwordFish »

deennoo wrote:
SwordFish wrote:
deennoo wrote:
Sory for asking but is it on your blog already?
Cant find it.
A simple how to is online for yeelight bedside lamp & Domoticz : http://domo-attitude.fr/tuto-lampe-de-c ... -domoticz/

That in simple french word, google translate do a good job, i'll provied a how to on domoticz wiki next week.

If some one can help by provieding a Python Plugin this can be perfect
I try to install this but get a error when trying to install enum :(
Is it also possible to control 2 bedlights?

Code: Select all

pi@raspberrypi:~ $ sudo pip3 install enum
Downloading/unpacking enum
  Downloading enum-0.4.6.tar.gz
  Running setup.py (path:/tmp/pip-build-2iowbxb_/enum/setup.py) egg_info for package enum
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "/usr/lib/python3/dist-packages/setuptools/extension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 16, in <module>
        from setuptools.depends import Require
      File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>
        from setuptools import compat
      File "/usr/lib/python3/dist-packages/setuptools/compat.py", line 45, in <module>
        import http.client as httplib
      File "/usr/lib/python3.4/http/client.py", line 69, in <module>
        import email.parser
      File "/usr/lib/python3.4/email/parser.py", line 12, in <module>
        from email.feedparser import FeedParser, BytesFeedParser
      File "/usr/lib/python3.4/email/feedparser.py", line 27, in <module>
        from email import message
      File "/usr/lib/python3.4/email/message.py", line 16, in <module>
        from email import utils
      File "/usr/lib/python3.4/email/utils.py", line 29, in <module>
        import socket
      File "/usr/lib/python3.4/socket.py", line 51, in <module>
        from enum import IntEnum
    ImportError: cannot import name 'IntEnum'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 12, in <module>

    from setuptools.extension import Extension

  File "/usr/lib/python3/dist-packages/setuptools/extension.py", line 7, in <module>

    from setuptools.dist import _get_unpatched

  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 16, in <module>

    from setuptools.depends import Require

  File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>

    from setuptools import compat

  File "/usr/lib/python3/dist-packages/setuptools/compat.py", line 45, in <module>

    import http.client as httplib

  File "/usr/lib/python3.4/http/client.py", line 69, in <module>

    import email.parser

  File "/usr/lib/python3.4/email/parser.py", line 12, in <module>

    from email.feedparser import FeedParser, BytesFeedParser

  File "/usr/lib/python3.4/email/feedparser.py", line 27, in <module>

    from email import message

  File "/usr/lib/python3.4/email/message.py", line 16, in <module>

    from email import utils

  File "/usr/lib/python3.4/email/utils.py", line 29, in <module>

    import socket

  File "/usr/lib/python3.4/socket.py", line 51, in <module>

    from enum import IntEnum

ImportError: cannot import name 'IntEnum'

deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

SwordFish wrote:
deennoo wrote:
SwordFish wrote:
Sory for asking but is it on your blog already?
Cant find it.
A simple how to is online for yeelight bedside lamp & Domoticz : http://domo-attitude.fr/tuto-lampe-de-c ... -domoticz/

That in simple french word, google translate do a good job, i'll provied a how to on domoticz wiki next week.

If some one can help by provieding a Python Plugin this can be perfect
I try to install this but get a error when trying to install enum :(
Is it also possible to control 2 bedlights?

Code: Select all

pi@raspberrypi:~ $ sudo pip3 install enum
Downloading/unpacking enum
  Downloading enum-0.4.6.tar.gz
  Running setup.py (path:/tmp/pip-build-2iowbxb_/enum/setup.py) egg_info for package enum
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "/usr/lib/python3/dist-packages/setuptools/extension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 16, in <module>
        from setuptools.depends import Require
      File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>
        from setuptools import compat
      File "/usr/lib/python3/dist-packages/setuptools/compat.py", line 45, in <module>
        import http.client as httplib
      File "/usr/lib/python3.4/http/client.py", line 69, in <module>
        import email.parser
      File "/usr/lib/python3.4/email/parser.py", line 12, in <module>
        from email.feedparser import FeedParser, BytesFeedParser
      File "/usr/lib/python3.4/email/feedparser.py", line 27, in <module>
        from email import message
      File "/usr/lib/python3.4/email/message.py", line 16, in <module>
        from email import utils
      File "/usr/lib/python3.4/email/utils.py", line 29, in <module>
        import socket
      File "/usr/lib/python3.4/socket.py", line 51, in <module>
        from enum import IntEnum
    ImportError: cannot import name 'IntEnum'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 12, in <module>

    from setuptools.extension import Extension

  File "/usr/lib/python3/dist-packages/setuptools/extension.py", line 7, in <module>

    from setuptools.dist import _get_unpatched

  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 16, in <module>

    from setuptools.depends import Require

  File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>

    from setuptools import compat

  File "/usr/lib/python3/dist-packages/setuptools/compat.py", line 45, in <module>

    import http.client as httplib

  File "/usr/lib/python3.4/http/client.py", line 69, in <module>

    import email.parser

  File "/usr/lib/python3.4/email/parser.py", line 12, in <module>

    from email.feedparser import FeedParser, BytesFeedParser

  File "/usr/lib/python3.4/email/feedparser.py", line 27, in <module>

    from email import message

  File "/usr/lib/python3.4/email/message.py", line 16, in <module>

    from email import utils

  File "/usr/lib/python3.4/email/utils.py", line 29, in <module>

    import socket

  File "/usr/lib/python3.4/socket.py", line 51, in <module>

    from enum import IntEnum

ImportError: cannot import name 'IntEnum'

please contact me on my blog...this topic is for xiaomi zigbee device ok ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

TigroEHOT wrote:2017-06-19 22:04:46.533 XiaomiGateway: unhandled model: ctrl_ln1
2017-06-19 22:04:46.533 {"cmd":"report","model":"ctrl_ln1","sid":"158d00012a35e7","short_id":24692,"data":"{\"channel_0\":\"off\"}"}
Your switch is the wall mounted one ?this one who need Line and neutral ? with a single button ?

I just recieve a dual switch from this serie, but didn't open it already, will try to help Corbin

@corbin this device is the same as ctrl1 device, and surely the On with 2 button is call ctrl_ln2 with the same fonction as ctrl2 device.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

corbin wrote:@langoo and @TigroEHOT

When it reports 'unhandled model', it should say what the name is, ie

Code: Select all

XiaomiGateway: unhandled model: tempsensor
I need to know what the name is (tempsensor in the above example) and what device it is. Also will need an example of the raw message output - enable raw gateway messages - see https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting
I have a temp sensor to, and Domoticz log only says : 2017-06-19 22:17:26.345 XiaomiGateway: unhandled model: using 3.7995

looks like API doesn't boardcast this sensors information for the moment

The square wireless switch isn't on the app for the moment
Last edited by deennoo on Monday 19 June 2017 22:58, edited 1 time in total.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

TigroEHOT wrote:Hi all!
I bought a couple of single button switches with neutral line and power usage report. But in Domoticz log I see unhandled model: ctrl_ln1
Just should wait for the update or I can help in anyway? Is there any data I can collect and provide?
Thanks!
this switch doesn't provied any power usage, he just show how is your voltage
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
langoo
Posts: 7
Joined: Wednesday 07 June 2017 22:34
Target OS: Linux
Domoticz version:
Contact:

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

Post by langoo »

corbin wrote:@langoo and @TigroEHOT

When it reports 'unhandled model', it should say what the name is, ie

Code: Select all

XiaomiGateway: unhandled model: tempsensor
I need to know what the name is (tempsensor in the above example) and what device it is. Also will need an example of the raw message output - enable raw gateway messages - see https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting
Will this helpension? This is one off the new Aqara Temp/Hum sensors. I see in the app that the gateway updates the values from the sensors if I for example blows on them.

Code: Select all

2017-06-19 23:34:51.639 XiaomiGateway: unhandled model:
2017-06-19 23:34:51.639 {"cmd":"read_ack","model":"","sid":"158d0001a1fa0e","short_id":24884,"data":"{\"voltage\":2965}"}
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

langoo wrote:
corbin wrote:@langoo and @TigroEHOT

When it reports 'unhandled model', it should say what the name is, ie

Code: Select all

XiaomiGateway: unhandled model: tempsensor
I need to know what the name is (tempsensor in the above example) and what device it is. Also will need an example of the raw message output - enable raw gateway messages - see https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting
Will this helpension? This is one off the new Aqara Temp/Hum sensors. I see in the app that the gateway updates the values from the sensors if I for example blows on them.

Code: Select all

2017-06-19 23:34:51.639 XiaomiGateway: unhandled model:
2017-06-19 23:34:51.639 {"cmd":"read_ack","model":"","sid":"158d0001a1fa0e","short_id":24884,"data":"{\"voltage\":2965}"}
As you Can see the only data forcasted is the battery voltage...
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
warmaniac
Posts: 24
Joined: Wednesday 12 April 2017 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by warmaniac »

deennoo wrote:
langoo wrote:
corbin wrote:@langoo and @TigroEHOT

When it reports 'unhandled model', it should say what the name is, ie

Code: Select all

XiaomiGateway: unhandled model: tempsensor
I need to know what the name is (tempsensor in the above example) and what device it is. Also will need an example of the raw message output - enable raw gateway messages - see https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting
Will this helpension? This is one off the new Aqara Temp/Hum sensors. I see in the app that the gateway updates the values from the sensors if I for example blows on them.

Code: Select all

2017-06-19 23:34:51.639 XiaomiGateway: unhandled model:
2017-06-19 23:34:51.639 {"cmd":"read_ack","model":"","sid":"158d0001a1fa0e","short_id":24884,"data":"{\"voltage\":2965}"}
As you Can see the only data forcasted is the battery voltage...
We need to wait for fw update of gateway :( , maybe sometimes it will be done.
TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by TigroEHOT »

deennoo wrote: Your switch is the wall mounted one ?this one who need Line and neutral ? with a single button ?
Yes, right.
langoo
Posts: 7
Joined: Wednesday 07 June 2017 22:34
Target OS: Linux
Domoticz version:
Contact:

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

Post by langoo »

warmaniac wrote:
deennoo wrote:
langoo wrote:
Will this helpension? This is one off the new Aqara Temp/Hum sensors. I see in the app that the gateway updates the values from the sensors if I for example blows on them.

Code: Select all

2017-06-19 23:34:51.639 XiaomiGateway: unhandled model:
2017-06-19 23:34:51.639 {"cmd":"read_ack","model":"","sid":"158d0001a1fa0e","short_id":24884,"data":"{\"voltage\":2965}"}
As you Can see the only data forcasted is the battery voltage...
We need to wait for fw update of gateway :( , maybe sometimes it will be done.
Yes that seems as the only solution right now.
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

Arrive on the app today the water sensor

Don't know where to get it.

About square device (wireless square switch, square door sensor, square temp and the new pir (with led) : gearbest can't have them anymore.Image
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
langoo
Posts: 7
Joined: Wednesday 07 June 2017 22:34
Target OS: Linux
Domoticz version:
Contact:

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

Post by langoo »

deennoo wrote:Arrive on the app today the water sensor

Don't know where to get it.

About square device (wireless square switch, square door sensor, square temp and the new pir (with led) : gearbest can't have them anymore.Image
What do you mean with gearbest can't have them?

http://www.gearbest.com/access-control/pp_626702.html
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by benbammens »

OK, the new temperature sensors show up in the android app.

I still can't see them in Domoticz though...
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

langoo wrote:
What do you mean with gearbest can't have them?

http://www.gearbest.com/access-control/pp_626702.html
They will never ship them even if they are on sale...
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

benbammens wrote:OK, the new temperature sensors show up in the android app.

I still can't see them in Domoticz though...
As explain previously
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
langoo
Posts: 7
Joined: Wednesday 07 June 2017 22:34
Target OS: Linux
Domoticz version:
Contact:

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

Post by langoo »

deennoo wrote:
langoo wrote:
What do you mean with gearbest can't have them?

http://www.gearbest.com/access-control/pp_626702.html
They will never ship them even if they are on sale...
I bought mine from them...
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

I add ones to but they will not get them anymore
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

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

Post by chatainsim »

langoo wrote:
deennoo wrote:
langoo wrote:
What do you mean with gearbest can't have them?

http://www.gearbest.com/access-control/pp_626702.html
They will never ship them even if they are on sale...
I bought mine from them...
Same for me have the new door sensor.
Button in on it's way too.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest