Announcement

Collapse
No announcement yet.

Feature request - udmc...

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

    Feature request - udmc...

    Bob if this was easy to do I would recommend the change.

    hs.PluginFunction("BLRadar", "", "ControlDevice", New Object(){"Q12","off" ,0}) --- In HS3 this would fire based on the device code.

    This doesn't work in HS4 ( and I fully understand why!)

    However it quietly fails.....it would be great if trying to switch a device ref that doesn't exist would cause an error entry in the HS log....
    HS3 Pro Edition 3.0.0.435 (Windows 10 vmware)
    BLOccupied:,UltraNetCam3:,weatherXML:,RFXCOM:,Current Cost 3P:,UltraGCIR3:
    DMMQTT:,Kodi:,Z-Wave:,BLRadar:,EasyTrigger:,MySensors:,BLBackup:

    #2
    Try 4.0.12 BETA
    I have added a warning message when it cannot find the device in the ControlDevice call
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      Works a charm, thank you!!!
      HS3 Pro Edition 3.0.0.435 (Windows 10 vmware)
      BLOccupied:,UltraNetCam3:,weatherXML:,RFXCOM:,Current Cost 3P:,UltraGCIR3:
      DMMQTT:,Kodi:,Z-Wave:,BLRadar:,EasyTrigger:,MySensors:,BLBackup:

      Comment


        #4
        ok......something is amiss....need some guidance.

        1. I'm getting controlDevice warnings in Hs log file (see attached). They seem to be caused by motion events so it looks like udmc code is triggering.
        2. I believe I've gotten rid of all "device codes" from udmc and replaced with device refs.

        I've even checked the BLRadar_udmc.xml file in the config folder and it has been updated. Is the udmc ("device code") stored anywhere else that the plugin could be using?

        Does the plug-in itself have an old reference to "Device Code" and use it if the device code exists?

        I did spot that Device code exists in the BLRadar.s3db, but stopping plugin, renaming db file and restarting plugin did not change the HS messages. The database did not get recreate upon plugin restart

        Click image for larger version

Name:	Screen Shot 2021-08-09 at 7.26.49 AM.png
Views:	100
Size:	159.8 KB
ID:	1488394 .
        HS3 Pro Edition 3.0.0.435 (Windows 10 vmware)
        BLOccupied:,UltraNetCam3:,weatherXML:,RFXCOM:,Current Cost 3P:,UltraGCIR3:
        DMMQTT:,Kodi:,Z-Wave:,BLRadar:,EasyTrigger:,MySensors:,BLBackup:

        Comment


          #5
          Put your database back because that is for logging activity - the plugin will not recreate it

          In the HS scripts folder you will see a BLRadar folder
          Stop the plugin and delete all the .vb files in the BLRadar under the scripts folder, then restart the plugin
          This will cause the plugin to generate all of the script files again

          See if you see the device code errors after this and let me know
          Cheers,
          Bob
          Web site | Help Desk | Feature Requests | Message Board

          Comment


            #6
            Yes that was it thank you......
            HS3 Pro Edition 3.0.0.435 (Windows 10 vmware)
            BLOccupied:,UltraNetCam3:,weatherXML:,RFXCOM:,Current Cost 3P:,UltraGCIR3:
            DMMQTT:,Kodi:,Z-Wave:,BLRadar:,EasyTrigger:,MySensors:,BLBackup:

            Comment

            Working...
            X