HOW TO: Setup CA to Work In Home Assistant #48
comet424
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For anyone interested that has Home Assistant.. for Home Automation.. you maybe interested in this...
The Home Assistant Community and Home Automation Communities are used to MQTT and Polling etc.. and Node Red.. Ill just show basic stuff... But if something your interested in you can add to your home setup
...
So 1 thing that isnt working at this time of writting is .. Polling every 10 min Sending a Mqtt Message To State that CA is up and Running.. As you want to know all your devices are running and that you can monitor there status's from a Tablet or a cell etc..
but working on that..
but first you need to set up your Callattendant.. and set it up for MQTT and point to your server...
then, you need to have already installed Home Assistant, Setup MQTT Broker, and Nodered... Now. I assume you already already done that to move onto the next steps
in the Above picture you can see a Flow chart... the top one is for Polling from CA to see that its Active.. Which at this time not working.
2nd have is what we doing
the purple box is the MQTT In .. and it reads "callattendant/CallerID" thats for the calls coming in
ir then Splits off them into Fields Name, Number,Action,Reason, also We Add a Time
It Then if you have Speakers or Displays it will Send Audio MEssages so like "Test Is Calling" "John Is Calling" "Ted Is Calling" from Display Name... does this for 20 seconds
after 20 seconds it puts it into a Last Caller Field so you can View who called last in Home Assistant
to do all this all you have to do is copy my code and "Import" it in Nodered and should just work minus a couple tweaks.. the Inject Button is just a test to show its working and that it sends it to the fields
now here in Home Assistant you can add your Fields so you can have them on your Tablet Cell phone or whatever
here you can see the incoming call... and then after 20 seconds it goes to unknown and moves that info over to last caller..
the sky is the limits.. not Only do i have this.. I also display the Call Display Page inside Home Assistant on a Page.. so you can view it from a tablet.. or if your around the world..
its something i do and i been running CA with home assistant for 4 years now early 2020 and been fun just my programming skills have laps so i cant add more features i wanted to to the program i wanted to in the past like fit better to a cell phone.. but this works and its ok
and the 2 Entity cards in Home Assistant above to make them
things may change from time of writting this but at this time it all works
hope you guys like if your interested
Beta Was this translation helpful? Give feedback.
All reactions