Jump to content

Caseta support TriathlonRollerShade


Recommended Posts

Posted

Hey @bpwwer,

Great job on this node server!  I never knew the little black button on the hub could be used for access control.

Can you add support for this shade?  It was working in the PG2 version:

2022-08-12 18:12:51,596 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: Unsupported device type: TriathlonRollerShade
2022-08-12 18:12:51,598 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: To get support for this device added, please send the following to the developer:
2022-08-12 18:12:51,599 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: {
    "device_id": "5",
    "current_state": 100,
    "fan_speed": null,
    "tilt": null,
    "zone": "1",
    "name": "Family Room_Door Shade",
    "button_groups": null,
    "occupancy_sensors": null,
    "type": "TriathlonRollerShade",
    "model": "QSFRJ-S2A13-XX",
    "serial": 19023737
}

and these, although not sure I really need them in the ISY:

2022-08-12 18:12:51,579 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: Unsupported device type: FourGroupRemote
2022-08-12 18:12:51,581 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: To get support for this device added, please send the following to the developer:
2022-08-12 18:12:51,582 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: {
    "device_id": "3",
    "current_state": -1,
    "fan_speed": null,
    "tilt": null,
    "zone": null,
    "name": "Family Room_Shade Remote",
    "button_groups": [
        "3",
        "4",
        "5",
        "6",
        "7"
    ],
    "occupancy_sensors": null,
    "type": "FourGroupRemote",
    "model": "CS-YJ-4GC-WH",
    "serial": 47103488
}
2022-08-12 18:12:51,610 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: Unsupported device type: FourGroupRemote
2022-08-12 18:12:51,611 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: To get support for this device added, please send the following to the developer:
2022-08-12 18:12:51,612 ThreadPoolExecutor-2_0 udi_interface      ERROR    controller:discover: {
    "device_id": "11",
    "current_state": -1,
    "fan_speed": null,
    "tilt": null,
    "zone": null,
    "name": "Master Bedroom_Shade Remote",
    "button_groups": [
        "9",
        "10",
        "11",
        "12",
        "13"
    ],
    "occupancy_sensors": null,
    "type": "FourGroupRemote",
    "model": "CS-YJ-4GC-WH",
    "serial": 47103566
}

 

Posted

I thought I had kept all the shade support from the PG2 version.  Are you sure this wasn't something you added locally? This is what I see in the PG2 version.

if device.get('type') == "SerenaHoneycombShade":
      NodeType = SerenaHoneycombShade
elif device.get('type') == "QsWirelessShade":
      NodeType = QsWirelessShade
if not NodeType:
      LOGGER.error("Unknown Node Type: {}".format(device))
      continue

In any case, I added the TriathlonRollerShade so it should be recognized in version 1.0.2.

I've also added some support for the remote.  But I'm not at all sure about that.  The SmartBridge is showing that it has 5 buttons, but when I look up the device, it looks like it has 10 buttons. So I have no idea which of the 10 button states are actually getting reported by the SmartBridge. 

I suspect it is probably the open/close, raise/lower, preset that are passed through the bridge, but you'll have to experiment with it and let me know.

My distributor doesn't seem to carry that product and my on-line searches haven't really found much other than it's a special order device.

I'll let you know when I push out version 1.0.2 for you to test with. 

  • Like 1
Posted

@JimboAutomates version 1.0.2 of Caseta node server is available. 

Let me know about the remote buttons.  Currently, it creates 5 button nodes, each will trigger on DON. But it may be better to have one node with triggers on the correct type (open/close/raise/lower/preset) if those are the buttons that are sent through.  Also, I'd need to know which button (A-E) corresponds to what button on the remote.

  • Like 2
Posted

and yes, there are buttons for full open/close, and incremental open/close, and 4 more to control 4 devices Individually, 1-4 and an "all" button, pressing those just says which device is going to be controlled with the 4 open/close buttons.  Then the "silver" button which moves all shades to their preset.

Posted

Maybe I forgot to upload the new package.  I just uploaded it so try again.

If you can, test to verify which buttons on the remote correspond to the A-E buttons created for it.  You'll probably have to create program(s) with the button press as the trigger as that's the only way they can be used (or maybe as scene controllers, but testing with programs is a bit easier).

My guess is that A = open, B = up, C = down, D = close, and E = preset as I think that would match the 3 Button R/L Pico.

Posted

Got a crash:

2022-08-15 17:58:17,903 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-08-15 17:58:17,904 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/./caseta.py", line 12, in <module>
2022-08-15 17:58:17,906 MainThread udi_interface      ERROR    udi_interface:write: LutronCasetaController(polyglot)
2022-08-15 17:58:17,906 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/nodes/controller.py", line 47, in __init__
2022-08-15 17:58:17,908 MainThread udi_interface      ERROR    udi_interface:write: self.start()
2022-08-15 17:58:17,909 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/nodes/controller.py", line 134, in start
2022-08-15 17:58:17,911 MainThread udi_interface      ERROR    udi_interface:write: self.discover()
2022-08-15 17:58:17,912 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/.local/lib/python3.9/site-packages/asgiref/sync.py", line 218, in __call__
2022-08-15 17:58:17,915 MainThread udi_interface      ERROR    udi_interface:write: return call_result.result()
2022-08-15 17:58:17,916 MainThread udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 439, in result
2022-08-15 17:58:17,922 MainThread udi_interface      ERROR    udi_interface:write: return self.__get_result()
2022-08-15 17:58:17,923 MainThread udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
2022-08-15 17:58:17,925 MainThread udi_interface      ERROR    udi_interface:write: raise self._exception
2022-08-15 17:58:17,927 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/.local/lib/python3.9/site-packages/asgiref/sync.py", line 284, in main_wrap
2022-08-15 17:58:17,929 MainThread udi_interface      ERROR    udi_interface:write: result = await self.awaitable(*args, **kwargs)
2022-08-15 17:58:17,931 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/nodes/controller.py", line 376, in discover
2022-08-15 17:58:17,933 MainThread udi_interface      ERROR    udi_interface:write: self.createPicoCfgNode(Remote4Group, device, device_id, '1', ' - A', [1], 'DON')  # default on
2022-08-15 17:58:17,934 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/nodes/controller.py", line 187, in createPicoCfgNode
2022-08-15 17:58:17,936 MainThread udi_interface      ERROR    udi_interface:write: NodeType(
2022-08-15 17:58:17,938 MainThread udi_interface      ERROR    udi_interface:write: TypeError
2022-08-15 17:58:17,938 MainThread udi_interface      ERROR    udi_interface:write: :
2022-08-15 17:58:17,939 MainThread udi_interface      ERROR    udi_interface:write: __init__() takes 9 positional arguments but 10 were given

 

Posted
5 hours ago, bpwwer said:

Try version 1.0.3 

Next error :)

2022-08-16 16:50:39,095 MainThread udi_interface      INFO     controller:start: Starting Lutron Caseta Node Server
2022-08-16 16:50:39,097 MainThread udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2022-08-16 16:50:39,099 MainThread udi_interface      DEBUG    controller:start: Waiting for configuration False
2022-08-16 16:50:49,201 Thread-3   udi_interface      ERROR    picos:dataHandler: No custom data yet....
2022-08-16 16:50:49,236 Thread-4   udi_interface      ERROR    picos:dataHandler: No custom data yet....
2022-08-16 16:50:53,880 Thread-6   udi_interface      ERROR    udi_interface:write: Exception in thread
2022-08-16 16:50:53,882 Thread-6   udi_interface      ERROR    udi_interface:write: Thread-6
2022-08-16 16:50:53,883 Thread-6   udi_interface      ERROR    udi_interface:write: :
2022-08-16 16:50:53,883 Thread-6   udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-08-16 16:50:53,884 Thread-6   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner
2022-08-16 16:50:53,889 Thread-6   udi_interface      ERROR    udi_interface:write: self.run()
2022-08-16 16:50:53,889 Thread-6   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 917, in run
2022-08-16 16:50:53,892 Thread-6   udi_interface      ERROR    udi_interface:write: self._target(*self._args, **self._kwargs)
2022-08-16 16:50:53,893 Thread-6   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_18/nodes/remote.py", line 189, in start
2022-08-16 16:50:53,895 Thread-6   udi_interface      ERROR    udi_interface:write: elif self.buttons[button]['button_number'] == self.button_nums[1]:
2022-08-16 16:50:53,895 Thread-6   udi_interface      ERROR    udi_interface:write: IndexError
2022-08-16 16:50:53,896 Thread-6   udi_interface      ERROR    udi_interface:write: :
2022-08-16 16:50:53,897 Thread-6   udi_interface      ERROR    udi_interface:write: list index out of range

 

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.5k
×
×
  • Create New...