However, I added a method to my android app that allows it to play a locally stored audio file and with a simple automation monitoring the binary sensor of the ding on the ring I had a chime.Ī bit later I started to use the other binary sensor ‘motion’ to play a star trek proximity warningĪfter some time I wanted to keep an eye on the cleaners after an incident and I got into the camera2 api on android and added a mjpeg streaming video server to the app. Unfortunately the existing wiring for the actual chime did not work, we’ll need some rewiring. I used a simple rest sensor that performed an http get on the tablet and with a simple automation in HA I had a lighting setup that was aware of the actual light coming trough the windows.Ī week later I got a doorbell and I successfully hooked it up to HA. The tablet has a light sensor and when looking at the android dev docs I saw it reported it’s values in Lux, that’s exactly what I need!Ībout an hour later I had a proof of concept running as a service on the tablet, reporting the amount of light in the living room. You see, I have an old nexus 7 tablet mounted to the wall in the living room, and it displays a HADashboard screen with some senor data and switches for light, etc. I looked into light sensors but quickly realized I already had one, and it was already installed and at the right spot. I needed a light sensor in my living room as I can’t trust the sunset data, things get dark well before the sun sets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |