Replies: 11 comments 7 replies
-
If anyone wants to try out the new/revised MQTT integration, you can install a test directly from the
|
Beta Was this translation helpful? Give feedback.
-
I am so new to MQTT, I don't think I can be of much help (at least not yet). But the ability to get caller id info via MQTT is exactly what I hope for. Thanks |
Beta Was this translation helpful? Give feedback.
-
Just letting you know that I am now able to get and display LastCallerID info via MQTT on both my Windows desktops and my Android devices! On Windows I am using EventGhost and this MQTT Plugin with this simple script:
And on Android I am using a combination of Tasker and this MQTT Client app that has hooks for use with Tasker. Really great and fast enough for my needs. Note: this is confined to my LAN only. And I am filtering out all but Permitted calls via these mechanisms. With CA in place, I am very happy indeed to ignore everything else. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
if you wanna do Last call and a current caller then send 2 MQTTS
this way with a Home Automation you can keep a log or Display of the Current Call coming in and the Last Caller so be like
|
Beta Was this translation helpful? Give feedback.
-
So far, I am very happy with what has been offered so far. Thanks! One thing I do note with regards to Permitted calls: even though I have a number + name on my permitted caller list, what comes through in the MQTT is the name provided by the modem/telecom, not the name assigned to the number in the caller list. So for example, my telecom sees my cell phone as "Wireless Caller" (not sure why but I have no way of changing this) while I have CA registering the number with my proper name. In the CA dashboard, my name is shown but in the MQTT, "Wireless Caller" is what comes through. Clearly, using the CA information is more helpful/informative. But I would not wish to see this add much overhead and reduce the timeliness of the MQTT being published. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I will also say that I personally change the line: |
Beta Was this translation helpful? Give feedback.
-
Well, there is more than one use case supported here albeit with some client intelligence. I believe it's up to clients to filter and/or remember last items seen from the source (persistence). Also note there is a timestamp in the message for a reason. Anyway, isn't FOSS wonderful. Hmmm... maybe another option? |
Beta Was this translation helpful? Give feedback.
-
Ok, I am running 2.0.4 now. Changed the MQTT topic on my clients to CallerID from LastCallerID. Added the new config item and set to EVENT. Was already using ISO and DISPLAY formats for MQTT. Seems to be running fine. When diffing against what I had for 2.0.2:
Thanks for all of these improvements. They make CA even better than before. Much more useful. Have you a PayPal I can donate to? |
Beta Was this translation helpful? Give feedback.
-
As for the mqtt user/psw either empty or None will do - interface is not picky. Was just doing some cleanup for consistency -- and, maybe a bit more. No need for you to change anything here. The service example was expanded a bit to improve logging and work better in a Python Virtual Env.. Replace the user-name and path names with whatever you use. I prefer a direct launch in a service script rather than relying on environmental defaults. As far as donations go, I prefer none. Less obligations that way. Give some money to a food-bank somewhere instead. |
Beta Was this translation helpful? Give feedback.
-
@thess hi ted been a while since checked in or worked on the callattendant.. if there is an update on your mqtt version how do i update the mqtt.. or i also re installed raspbian a new micro sd card to do a clean install of callattendant if thats how to do the updated mqtt version i also was working on callattendant Poller as the odd time.. Callattendant will crash.. but i cant get it work from how i read up on it... maybe you know what you need to do... so what i doing is say every 10 min its MQTTs a Yes to say Callattendant is still up and running so so the home automation will know if its up or crashed... as Callattendant will crash the odd time... so i used the import sched but from what i followed isnt working this is what i did
i used this web link for trying to learn
so what id maybe like is in the Config file |
Beta Was this translation helpful? Give feedback.
-
Requesting some feedback on what is going to be included in v2.0. The major changes are mostly internal and include using JSON formatted messages for the indicators and the inclusion of CallerID data. Attached are some implementation notes.
Callattendant MQTT client
Base-topic default is 'callattendant'. Indicator names are one of:
RING, Approved, Blocked, Message, MessageCount
Examples:
JSON formatted messages:
TimeStamp
is either Unix epoch (seconds) or localtime as text.CallerID Number
can be either direct from provider or formatted for display.Config file additions:
Callattendant MQTT message templates:
IndicatorName: {"TimeStamp": 0, "State": "", "Period": 0, "Count": 0}
CallerID: {"TimeStamp": 0, "Number": "", "Name": "", "Action": "", "Reason": ""}
Beta Was this translation helpful? Give feedback.
All reactions