Page 79 of 123

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

Posted: Monday 19 June 2017 14:05
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\"}"}

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

Posted: Monday 19 June 2017 14:25
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}"}

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

Posted: Monday 19 June 2017 19:44
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'


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

Posted: Monday 19 June 2017 22:21
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 ?

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

Posted: Monday 19 June 2017 22:32
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.

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

Posted: Monday 19 June 2017 22:34
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

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

Posted: Monday 19 June 2017 22:36
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

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

Posted: Monday 19 June 2017 23:44
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}"}

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

Posted: Monday 19 June 2017 23:51
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...

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

Posted: Tuesday 20 June 2017 0:11
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.

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

Posted: Tuesday 20 June 2017 2:25
by TigroEHOT
deennoo wrote: Your switch is the wall mounted one ?this one who need Line and neutral ? with a single button ?
Yes, right.

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

Posted: Tuesday 20 June 2017 16:34
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.

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

Posted: Tuesday 20 June 2017 16:53
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

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

Posted: Tuesday 20 June 2017 17:02
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

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

Posted: Tuesday 20 June 2017 19:50
by benbammens
OK, the new temperature sensors show up in the android app.

I still can't see them in Domoticz though...

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

Posted: Tuesday 20 June 2017 20:50
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...

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

Posted: Tuesday 20 June 2017 20:50
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

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

Posted: Tuesday 20 June 2017 21:54
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...

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

Posted: Wednesday 21 June 2017 0:19
by deennoo
I add ones to but they will not get them anymore

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

Posted: Wednesday 21 June 2017 0:29
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.