Movement and light sensor for around 10$?

Light sensor is what I miss.

Now looking at Xiaomi gateway as light sensor. It cost 36 and includes door sensor, switch, and temp sensor. Excellent price, although not sure the light sensor is hacked for hass

But didn’t want to put a full gateway in every room of my house :))))

1 Like

good suggestion. i am wondering how far is the signal range?

I just got it, will let you know

already starts the problem, how to get the mac address, I have tons of items in my router

From the documentation:

mac (Required): The MAC address of your sensor. You can find this be running hcitool lescan from command line.

It is using bluetooth, so it is not connected to your router

yes I read that. Ok is not on the router. So from which command line?? Now the Mi Flora is connected with bluetooth on my android device

The command line of the computer running Home assistant.
Are you using a raspberryPi? Then log in to the raspberryPi and run hcitool lescan
And you do not need the app, I never installed it.

mmhh ok, I put the mi flora near the raspberry pi (but the actual oplace it should go is a bit far from the pi, so that will be a problem, will check that later)

I do have a bunch of mac address 8. 7 with (unknown) and 1 with (charge).

WHich should be the first mac address of a xiaomi mi flora?? All my xiaomi devices start with 28 …??

F4:F5:D8xx (unknown)
F4:F5:D8xx (unknown)
54:60:09:xx(unknown)
54:60:09:xx (unknown)
46:46:98:xx (unknown)
46:46:98:xx (unknown)
E8:1B:30:xx (unknown)
E8:1B:30:xx Charge

Turn off the sensor and scan again, to see which device is missing. Then you know.
And my plant sensors are stating with C4:7C:8D:61:7
https://github.com/Danielhiversen/hass_config/blob/master/configuration.yaml#L176

yes, I had to take out battery and back on (can you turn it on/off in another way??)

I confirm also mine starts with C4:7C:8D:61:7

but if range of bluetooth is not enough which are the solutions?

Put other pi3 no, otherwise is better to get a hue sensor for 40

you have a DIY gateway with open ports.
why not just use a photocell on the gateway as light sensor?

You mean the 433toMQTTto433 gateway?

I put that box in a cabinet where it is dark.

I prefer something portable like the Mi Flora sensor so that I can put it anywhere in the house or even outdoor. I cannot depend on time to automate the lights because sometimes the sky gets pretty dark in the noon when it is raining. So I hope by putting one of those sensors outdoor, it can help me automate the lights when the sky is actually dark.

make another gateway for it.
or use an arduino/nodemcu with a 433 mhz and a photocell to send the value to your other gateway.

DIY solution might be:

http://www.banggood.com/ESP8266-ESP-12E-Wireless-Remote-Serial-WIFI-Transceiver-Module-Board-For-Arduino-p-1077479.html?rmmds=search

gets you light sensor (and RGB LED)

Add a PIR to the board and you have both for around $10

Great, but I don’t understand why they don’t sell this product in a simple box, ready to use …

they make those.
but you also want to connect it to normal power, so you need a power connector built into that.
and then you want that to be a safe one and small too.
and a case around it.

and then you get in a more expensive pricerange.

1 Like

you have a link?

google for light sensor.