Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

Marco74
Posts: 2
Joined: Saturday 19 November 2016 17:43
Target OS: Linux
Domoticz version:
Contact:

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

Post by Marco74 »

sorry, I forgot to mention that I can see on domoticz all the updates from the xiaomi devices (both in graphics and datatatbles)
What I cannot see is the updates to the influx.
It seems that the data read from the xiaomi devices is not pushed out...

warmaniac wrote:Try to watch via wireshark if is some output from xiaomi gateway UDP

Marco74 wrote:Hi all,
a very quick question.
I was trying to send the data from the temp&humidy sensors to the influx DB using the DataPush|InfluxDB but I don't see anything sent to the DB from any xiaomi device.
I have tried bot the direct and value change mode but nothing changed.
I know that the datapush engine is working because I can see other data pushed into from different devices.

...any hint/suggestion?

Thanks


Odoslané z môjho iPhone cez Tapatalk
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

Did biy:
https://www.google.nl/search?q=wsdcgq11 ... DXsQsAQILw

Only not supported by the gateway...
She says something in chinees.... and i see no device:-)
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
marcotini
Posts: 28
Joined: Thursday 16 February 2017 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by marcotini »

If eth0 goes down Domoticz stop and give me this in the log:

Code: Select all

Jun 16 11:07:26 raspberrypi domoticz: XiaomiGateway: Worker started...
Jun 16 11:07:26 raspberrypi domoticz: EventSystem: reset all events...
Jun 16 11:07:26 raspberrypi domoticz: XiaomiGateway: Using 172.24.1.1 for local IP address.
Jun 16 11:07:26 raspberrypi domoticz: XiaomiGateway: system
Jun 16 11:07:26 raspberrypi domoticz: XiaomiGateway: stopped
Jun 16 11:07:26 raspberrypi domoticz: EventSystem: reset all device statuses...
Jun 16 11:07:26 raspberrypi domoticz: Domoticz received fatal signal 6 !...
Jun 16 11:07:26 raspberrypi domoticz:   /home/pi/domoticz/domoticz() [0x1cca74]
Jun 16 11:07:26 raspberrypi domoticz:   /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1ccb2c]
Jun 16 11:07:26 raspberrypi domoticz:   /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76ac8180]
Jun 16 11:07:26 raspberrypi domoticz:   /lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x38) [0x76ac6f70]
And I want to notice that 172.24.1.1 is not the IP of the Gateway but of the Raspberry Pi (in the setting I have another IP, not this one). So maybe there is some error in the saving of the setting.
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

Hi Marcotini,

Regarding your log:

172.24.1.1 should be your Rasbberry Pi, which it is.

If eth0 goes down, it would be expected that the Xiaomi Gateway process then fails as it cannot communicate with the network.

Then Domoticz crashes. I don't know if that would be the Xiaomi Gateway code causing it. Can you provide more information?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
User avatar
marcotini
Posts: 28
Joined: Thursday 16 February 2017 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by marcotini »

corbin wrote:I don't know if that would be the Xiaomi Gateway code causing it. Can you provide more information?
You can see the other log here https://www.domoticz.com/forum/viewtopi ... 14#p138456

I can also tell you that the Pi has 3 interfaces, 1 wlan (with hostapd) and 2 eth (1 for input with dnsmasq and 1 connected to the router).
So if the Gateway want talk to Raspberry Pi it can do with other (wlan has 172 so it can and they do) but after few second that the eth0 goes down it stop working.

What other information can I give to you?
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

I am using both LAN (192.168.5.28) and WiFi (192.168.5.27)

Tried this on my Raspberry, no crash in Domoticz:

Code: Select all

pi@raspberrypi:~ $ sudo ifconfig eth0 down
pi@raspberrypi:~ $ ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:59483 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59483 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:5240852 (4.9 MiB)  TX bytes:5240852 (4.9 MiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:ee:d0:59
          inet addr:192.168.5.27  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr: fe80::346d:7ee5:2b1:e0f5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10152 errors:0 dropped:7 overruns:0 frame:0
          TX packets:6847 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:903907 (882.7 KiB)  TX bytes:9766244 (9.3 MiB)
Is there something I could change on my system to recreate the problem?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
User avatar
marcotini
Posts: 28
Joined: Thursday 16 February 2017 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by marcotini »

You can try to install Pi-Hole (with of course dnsmasq active). I just find out that maybe is this the problem, I run other test for understand better what's happening.
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 »

A changes was made in iphone app now can see new reports air pressure of new aqara sensor , but without output on gateway LAN side :(


Image
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 »

warmaniac wrote:A changes was made in iphone app now can see new reports air pressure of new aqara sensor , but without output on gateway LAN side :(


Image
What is your gateway fw please ?
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:
warmaniac wrote:A changes was made in iphone app now can see new reports air pressure of new aqara sensor , but without output on gateway LAN side :(


Image
What is your gateway fw please ?

Image



Odoslané z môjho iPhone cez Tapatalk
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:
warmaniac wrote:A changes was made in iphone app now can see new reports air pressure of new aqara sensor , but without output on gateway LAN side :(


Image
What is your gateway fw please ?
Image
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 »

Ok devices just availalable on ios not on android...
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
quack3d
Posts: 86
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

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

Post by quack3d »

Any ideas what those notifications say? Irritating they're not in English.
Screenshot_20170618-100241-01.jpeg
Screenshot_20170618-100241-01.jpeg (13.14 KiB) Viewed 2862 times
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

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

Post by bing69 »

quack3d wrote:Any ideas what those notifications say? Irritating they're not in English.
Screenshot_20170618-100241-01.jpeg
A sale offer i understand, use google translate ;-)

"Rice home 618, crazy down the maximum straight down 1,000 yuan, the last day waiting for you to >> U"
quack3d
Posts: 86
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

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

Post by quack3d »

I did, but it didn't make any sense in the translate app:

"Millet 618 good to not pick millet Max 2 first sell the audience the highest reduction of 1000 >>"

And now I got another notification. I'm turning off all notifications from the app. Stupid crap.
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 »

Now the Aqara temperature sensor is avalible in the Android app and the gateway updates the sensors values without the need to go in to every specific device and update it's value. Domoticz still show "Unhandled model" in it's logs. Need for an update to the plugin in Domoticz now maybe?

Developers need help with debug pls tell me so maybe I can help with data from domoticz or wireshark?
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

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

Post by freakshock »

quack3d wrote:I did, but it didn't make any sense in the translate app:

"Millet 618 good to not pick millet Max 2 first sell the audience the highest reduction of 1000 >>"

And now I got another notification. I'm turning off all notifications from the app. Stupid crap.
I got these annoying ads too.
I believe I was able to shut them off for ads only in the app here:

Profile -> Settings -> Message Settings -> Store messages to OFF
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 »

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!
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

@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
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

@corbin

2017-06-19 22:02:13.927 XiaomiGateway: unhandled model: ctrl_ln1
2017-06-19 22:02:13.927 {"cmd":"read_ack","model":"ctrl_ln1","sid":"158d00012a35e7","short_id":24692,"data":"{\"voltage\":3600,\"channel_0\":\"on\"}"}

Hope it helps.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest