Announcement

Collapse
No announcement yet.

Is it possible to log Adhoc entries via API (or any other means?)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is it possible to log Adhoc entries via API (or any other means?)

    I've got an external python script that is performing actions on HS3 via API. In a few circumstances I'm working on sorting out idiosyncrasies / bugs, and would find it helpful to be able to add adhoc entries to the HomeSeer log via API to help in that troubleshooting. Is this possible to do?

    #2
    If you are refering to the JSON interface, the best that I've done for similar purposes is to use JSON's speak function where I pass a bogus host:device and what to speak is the data I want to log.


    For example:
    Code:
    /JSON?request=speak&phrase=testing-logging&host=debug:debug
    Shows as the following in the log:
    Code:
    TTS     Speak (debug:debug):testing-logging
    Len


    HomeSeer Version: HS3 Pro Edition 3.0.0.435
    Linux version: Linux homeseer Ubuntu 16.04 x86_64
    Number of Devices: 633
    Number of Events: 773

    Enabled Plug-Ins
    2.0.54.0: BLBackup
    2.0.40.0: BLLAN
    3.0.0.48: EasyTrigger
    30.0.0.36: RFXCOM
    3.0.6.2: SDJ-Health
    3.0.0.87: weatherXML
    3.0.1.190: Z-Wave

    Comment

    Working...
    X