![]() For starting and experimenting I’d suggest installing JetBrains’s P圜harm Community edition. You also need an environment that can run a Python. ![]() □ I’m saving the records to a MySQL database running on my Synology NAS but you can pick any other environment, like Amazon RDS, Google Cloud SQL etc. This will lengthen the lifespan of your SD card. Off-topic tip: since the amount of states values HA is writing to the database can become quite large in the future I’d suggest saving these somewhere else than the default database file on the SD card. You can run HA on a Raspberry Pi by following the installation guide for Raspberry here. Requirements Home Assistantįirst you need to make sure a HA instance is running. I’m running all the commands bellow on a Raspberry Pi Zero W environment. You can use these states in your own project to display the values on physical devices like I did on a Pimoroni Micro Dot pHAT. As I started using Home Assistant (HA) I wanted to explore the options of outputting HA states to physical devices, like a matrix display.īelow I’ll guide you through a simple setup of how to build a states logger using the HA Websocket API.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |