There are other 2 RPI2's running HA ('slave' ones) in my little system, with PIR sensors, DHT22 sensors and a SenseHat. One RPI also runs MotionEye, handling a local video stream (PI camera) and other video stream from a cheap chinesse IP camera (ESCAM QF001); and the other RPI2 has a pHAT DAC with a speaker attached, and runs MPD and shairport-sync.
In addition, recently I have been creating some automations under the new AppDaemon system of apps, and I find it a bewitching method that doing anything in HA.
Some info about what's here:
Notifications by: email, pushbullet account, KODI notifications and the iOS notify component, with video streams, attachments, and actionable notifications) (Home Assistant iOS App in private beta for now)
Device tracking by: nmap_tracker, bluetooth_tracker (with internal BT module of RPI 3), and icloud trackers.
Cameras: One local NO-IR PI Camera and two more MotionEye streams from other RPI on LAN.
Lights: Phillips HUE System, excluded from homebridge (I have a 2º gen Hue bridge which is HomeKit compatible).
Switches: 5x/2remote + 3x/2remote RF outlet packs from Etekcity which were extremely cheap and work like a charm sending commands with the RF emitter installed in the RPI. Also, more 'software' switches to do automations and manipulate correctly HA input_booleans with HomeKit (the input_booleans don't update the initial state in the homebrige plugin, bug?), including:
A custom_component/switch for turning ON and OFF my main TV, which is connected to the RPI3 with KODI (with OSMC running the script.json-cec add-on) --> cecswitch platform.
A WOL switch for my Synology NAS.
command_line switches for turning ON|OFF and getting status for Hyperion in KODI RPI and Motion detection on video streams.
KODI: Control the KODI instance which is running 24/7 in another dedicated RPI 3, connected to the TV+HomeCinema kit, and making as AirPlay receiver, DVBT tuner & recorder, and main media player for movies and tv shows.
MPD: MPD + Mopidy player in one RPI2 in the bedroom, also working as AirPlay receiver with shairport-sync.
Now I'm playing along with some ESP8266 dev kits to place some sensors in small spaces and talk with HASS via MQTT Mosquitto...
Multiple scripts and automations for make my life easier...
The data center of all of these little smart machines is a Synology DS213j NAS with 4TB+3TB storage running 24/7 and serving media to all devices. The MySQL KODI database is in there, so any consumer device views the same.
These days I'm testing to move the Home Assistant DB to the NAS, with a recorder db_url like: mysql://USER:PASS@NAS_IP/HASSDB. And it's working very well... recorder errors had disappeared and all seems working more fluent.
请发表评论