Page 78 of 123

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

Posted: Monday 12 June 2017 22:26
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

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

Posted: Tuesday 13 June 2017 18:29
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:-)

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

Posted: Friday 16 June 2017 11:12
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.

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

Posted: Friday 16 June 2017 13:09
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?

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

Posted: Friday 16 June 2017 18:09
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?

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

Posted: Friday 16 June 2017 20:17
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?

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

Posted: Friday 16 June 2017 23:41
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.

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

Posted: Saturday 17 June 2017 19:43
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

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

Posted: Sunday 18 June 2017 7:32
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 ?

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

Posted: Sunday 18 June 2017 9:22
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

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

Posted: Sunday 18 June 2017 9:22
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

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

Posted: Sunday 18 June 2017 9:37
by deennoo
Ok devices just availalable on ios not on android...

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

Posted: Sunday 18 June 2017 10:17
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 2957 times

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

Posted: Sunday 18 June 2017 12:52
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"

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

Posted: Sunday 18 June 2017 17:41
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.

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

Posted: Monday 19 June 2017 11:13
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?

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

Posted: Monday 19 June 2017 12:18
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

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

Posted: Monday 19 June 2017 13:27
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!

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

Posted: Monday 19 June 2017 13:48
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

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

Posted: Monday 19 June 2017 14:04
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.