Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Additional MQTT Support
#6
Oh, OK, no, that's not likely to happen. That really would require something like the logic server which is a huge undertaking.

I guess one option would be to derive a class from EventHandler:

https://www.charmedquark.com/Web2/CQCDoc...entHandler

Set up a single triggered event that just roughly filters for the kinds of events you want. The action would be an invocation of your derived class. When that happens, the event server knows it's an event handler. In your Start() method you can call the Get method to get the raw event info and do whatever you want, which could be return some info to the action that tells it to invoke some command line tool to send that info.

Another would be to create an 'event monitor' which I created a long time ago and I don't think anyone has ever used. You derive from EvMonBase:

https://www.charmedquark.com/Web2/CQCDoc.../EvMonBase

In your Start() you tell it a list of fields you are interested in. You will be called back the FIeldChanged() method any time one of them changes. But, in this case, you'd have to build up the MQTT buffer to send yourself. You wouldn't have any way of invoking some external tool.
Dean Roddey
Explorans limites defectum
Reply


Messages In This Thread
Additional MQTT Support - by znelbok - 05-12-2020, 09:08 PM
RE: Additional MQTT Support - by Dean Roddey - 05-13-2020, 02:40 PM
RE: Additional MQTT Support - by znelbok - 05-14-2020, 01:32 AM
RE: Additional MQTT Support - by Dean Roddey - 05-14-2020, 02:03 PM
RE: Additional MQTT Support - by znelbok - 05-14-2020, 02:21 PM
RE: Additional MQTT Support - by Dean Roddey - 05-14-2020, 03:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MQTT Verify Configuration not working znelbok 4 979 03-17-2022, 01:07 PM
Last Post: Dean Roddey
  Broadlink Support? Darrie 1 676 01-20-2022, 04:09 PM
Last Post: Dean Roddey
  Support for MATTER znelbok 0 580 01-10-2022, 03:08 AM
Last Post: znelbok
  MQTT Help sic0048 19 4,645 10-25-2021, 07:50 PM
Last Post: Shaky
  any support for TP Link Kasa natively or third party int? b00ter 1 866 03-13-2021, 06:16 PM
Last Post: gReatAutomation
  ISY994i Support simplextech 49 17,754 06-29-2020, 05:21 AM
Last Post: keepersg
  Elk Version Support Issue Ron Haley 20 6,545 05-05-2020, 08:38 PM
Last Post: Shaky
  RadioRA2 Visor Control Receiver - Input support gReatAutomation 12 5,258 02-24-2020, 07:38 AM
Last Post: gReatAutomation
  New MQTT support Dean Roddey 65 23,818 02-02-2020, 02:00 PM
Last Post: simplextech
  ISYv2 Driver - IOLinc Support simplextech 7 3,835 02-01-2020, 07:18 PM
Last Post: simplextech

Forum Jump:


Users browsing this thread: 1 Guest(s)