Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1747744 25-Mar-2017 22:48
Send private message

The cube is pretty random on if it responds, and I have found it drops off from smart things quite often, whereas all the other sensors have been rock solid.

 

If the cube reported orientation and I could label the sides to choose a mode, that would be good, but its all just the tap/shake/flip 90/flip 180 degrees things and another I cant remember. Interesting novelty idea but shake the cube to toggle the lights isnt a great user interface idea.





Richard rich.ms

232 posts

Master Geek
+1 received by user: 37


  Reply # 1747778 25-Mar-2017 23:20
Send private message

SumnerBoy:

 

@tieke - what sort of range do you get between the gateway and the sensors etc? Do they have to be pretty close?

 

 

I'm in a two-storey house with about a seventy square meter footprint and haven't had any problems yet with range - I assume it's standard zigbee range. I now have the hub plugged into a wall in the centre of the house, but it was previously in one corner about 11 metres from a door sensor which was picked up fine. 


 
 
 
 


20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1747779 25-Mar-2017 23:23
Send private message

apparantly the zigbee versions of the power sockets act as repeaters as well. They cost more than the wifi versions.

 

I have a couple that I have on my smartthings hub since the wemos which it also supports are so damn large they block everything. If you do get them, be aware they have shutters on the AU socket which need an earth to open. So old double adapters are great to plug 2 pin AU plug things into them.





Richard rich.ms

232 posts

Master Geek
+1 received by user: 37


  Reply # 1747780 25-Mar-2017 23:29
Send private message

richms:

 

The cube is pretty random on if it responds, and I have found it drops off from smart things quite often, whereas all the other sensors have been rock solid.

 

If the cube reported orientation and I could label the sides to choose a mode, that would be good, but its all just the tap/shake/flip 90/flip 180 degrees things and another I cant remember. Interesting novelty idea but shake the cube to toggle the lights isnt a great user interface idea.

 

 

I had pretty much the same reaction - the only use-case I came up with was as a bedside remote which would be simple to use in the dark, but it was easier to reach for a standard switches rather than waving a cube around (or I could just ask Google to turn on the lights). The rest of the mi smart home series seems value for money, but the cube seems to just be a gimmick.


232 posts

Master Geek
+1 received by user: 37


  Reply # 1747782 25-Mar-2017 23:34
Send private message

richms:

 

apparantly the zigbee versions of the power sockets act as repeaters as well. They cost more than the wifi versions.

 

 

I have several of the xiaomi zigbee sockets, so if they do act as repeaters this might have helped my range.


20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1747783 25-Mar-2017 23:38
Send private message

Im thinking they might be why I am having so much problem with the wemo lamps now, before they were fine, now they disconnect and I have to do the turn them off and on 5 times to reset and then add thing in smart things to get them back again, only since I have added the sockets. range was fine thruout the house before adding them, floor area is about 60m2 x 2 and they worked in the detached garage fine too, but not in the shed.





Richard rich.ms

1571 posts

Uber Geek
+1 received by user: 174

Subscriber

  Reply # 1757310 5-Apr-2017 23:08
One person supports this post
Send private message

Order arrived from AliExpress yesterday, so pretty happy with the 10 day delivery!

 

Have been playing around with a gateway, 2xtemp/humidity sensors and 1xwireless switch. Have to say I am very impressed, the size of the temp sensors is great - very discrete and I can see me chucking these every where (so long as range is ok - haven't tested this yet). The wireless switch seems to work quite well with the built-in gateway scenes - i.e. turn on gateway led etc.

 

I have put the gateway on my IOT VLAN which doesn't have any internet access normally. In order to get the Mi Home app to see it however I obviously needed to enable internet access. Everything is working fine at this point. Wireless switch events are logged in the app (via the Xiaomi servers) as are temp/humidity changes.

 

I then enabled *developer mode* in the app and have managed to get a python script running based on https://github.com/illxi/mihome. This successfully finds the gateway and lists the devices associated with it, including the current temp/humidity and battery voltage levels.

 

What isn't working is async updates from the devices. So I don't ever see any switch events arriving at my script, or temp/humidity reports. Nothing seems to be getting broadcast from the gateway when one of my devices sends a report/update/event. Just wondering if anyone has this sort of thing working locally?

 

I want to build a very simple script that listens for events from the gateway and publishes to an MQTT topic, where openHAB and anything else that is listening, can consume them.


1571 posts

Uber Geek
+1 received by user: 174

Subscriber

  Reply # 1757903 7-Apr-2017 08:02
Send private message

Ok - got things working. Was a VLAN issue with the UDP broadcasting. Once I put the script on a VM in the same VLAN as the gateway everything sprang into life. This is awesome! Thanks for the pointer @richms and @tieke. If the battery life on these is anywhere half decent they will have my vote as the go-to for temp sensors, possibly motion (haven't got one of them yet) and wireless scene activations. 

 

I have knocked up a little mihome2mqtt python script which just publishes sensor readings at the moment (i.e. read-only) if anyone is interested. It is based on the scripts readily available out there so nothing new. I intend to develop this further to make it read/write so I can control the gateway LED and any sockets/switches I might add later.

 

Anyone know how often the gateway publishes battery voltage readings for each sensor? I can see them when the script first starts up and requests the device list. But I am yet to see a battery report since. Perhaps it will need to be a periodic poll initiated by openHAB?

 

All in all, very impressed with these!


1571 posts

Uber Geek
+1 received by user: 174

Subscriber

  Reply # 1757908 7-Apr-2017 08:18
Send private message

Scratch that question re. battery reports - I can see them flowing thru now...patience is your friend ;).

 

 

/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/sensor_ht/158d00015cdf0a/temperature 2139
/xiaomi/sensor_ht/158d00015cdf0a/humidity 5403
/xiaomi/sensor_ht/158d00015cdf0a/humidity 5403
/xiaomi/sensor_ht/158d00015cdf0a/voltage 3025
/xiaomi/sensor_ht/158d00015cdf0a/temperature 2139
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/switch/158d00013f854d/voltage 3112
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39
/xiaomi/gateway/286c0785c05b/ip 192.168.40.39

 


20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1757911 7-Apr-2017 08:28
Send private message

I just have my gateway and a button set up as a doorbell, and a magnetic door sensor on the parcel box to turn its light on so I know if someones been in that hopefully leaving things for me.

 

The sensors are all on my smartthings hub and in the fridge/freezer and a couple of other places. Sensors have been totally fine on smartthings which is more than I can say for my wemo lamps.





Richard rich.ms

1571 posts

Uber Geek
+1 received by user: 174

Subscriber

  Reply # 1757912 7-Apr-2017 08:30
Send private message

So you can pair the sensors directly to your SmartThings hub? 


13243 posts

Uber Geek
+1 received by user: 2216

Trusted
Subscriber

  Reply # 1757913 7-Apr-2017 08:30
Send private message

@SumnerBoy what product(s) did you buy?





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


1571 posts

Uber Geek
+1 received by user: 174

Subscriber

  Reply # 1757914 7-Apr-2017 08:31
Send private message

Got a gateway, 2 x temp/humidity sensors and a wireless switch.


20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1757915 7-Apr-2017 08:31
Send private message

SumnerBoy:

 

So you can pair the sensors directly to your SmartThings hub? 

 

 

Yes, there are community written device handlers to get them working, the first version didnt handle negative temperatures properly but the later one works great.





Richard rich.ms

20362 posts

Uber Geek
+1 received by user: 3871

Trusted
Subscriber

  Reply # 1757916 7-Apr-2017 08:33
Send private message

 





Richard rich.ms

1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33


Vocus NZ sale and broadband competition
Posted 6-Nov-2017 14:36


Hawaiki reaches key milestone in landmark deep-sea fibre project
Posted 4-Nov-2017 13:53


Countdown launches new proximity online shopping app
Posted 4-Nov-2017 13:50


Nokia 3310 to be available through Spark New Zealand
Posted 4-Nov-2017 13:31


Nest launches in New Zealand
Posted 4-Nov-2017 12:31



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.