
apostolakisl
Members-
Posts
6869 -
Joined
-
Last visited
Everything posted by apostolakisl
-
Is there a way to activate tasks in UD Mobile?
apostolakisl replied to cwagner2401's topic in UD Mobile
I haven't tied the PG3 node server yet. But the answer is no to PG2. Also no to the Elk Module for ISY. I assume the API has them available, but I don't know. @JimboAutomates -
Is there a way to activate tasks in UD Mobile?
apostolakisl replied to cwagner2401's topic in UD Mobile
This was also the case with the original ISY Elk module. There is a workaround. As you mentioned, outputs. Specifically, phantom outputs (outputs that don't actually have an Elk output module attached). Use the higher end of the range of outputs, like in the 100s, just in case you decide to buy a bunch of Elk output boards and use up all the lower numbers. Then in Elk you'll need to write a rule that says "whenever output x turns on, then activate task y". In ISY, you will need to write a program, IF . . whatever you want to trigger the task. Then turn output x on for 1 second. -
Not a big deal. But I am about 99% certain that this worked when I had it installed the first time before the fiasco with moving to IoP. I also saw that my roomba did a firmware update a few days ago, so not sure if that is the reason. I don't know that it really matters to see x,y,theta. Since the Roomba seems to know where it is going in the house, I assume it has the values internally. Here is a portion of the log anyway. 2022-04-29 14:16:32,387 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating X Position on Roomba: 'pose' 2022-04-29 14:16:32,388 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating Y Position on Roomba: 'pose' 2022-04-29 14:16:32,389 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating Theta Position on Roomba: 'pose' 2022-04-29 14:16:32,387 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating X Position on Roomba: 'pose' 2022-04-29 14:16:32,388 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating Y Position on Roomba: 'pose' 2022-04-29 14:16:32,389 Thread-13461 udi_interface ERROR roomba-poly:_update900SeriesProperties: Error updating Theta Position on Roomba: 'pose' 2022-04-29 14:16:32,640 Thread-1 udi_interface INFO roomba:process_q: Received Roomba Data: wifistat, b'{"state":{"reported":{"signal":{"rssi":-57,"snr":19,"noise":-76}}}}' 2022-04-29 14:16:32,640 Thread-1 udi_interface INFO roomba:process_q: Received Roomba Data: wifistat, b'{"state":{"reported":{"signal":{"rssi":-57,"snr":19,"noise":-76}}}}' 2022-04-29 14:16:32,645 ThreadPoolExecutor-0_1 udi_interface INFO roomba:update_state_machine: current_state: Charging, current phase: charge, mission: clean, mission_min: 352, recharge_min: 0, co-ords changed: False 2022-04-29 14:16:32,645 ThreadPoolExecutor-0_1 udi_interface INFO roomba:update_state_machine: current_state: Charging, current phase: charge, mission: clean, mission_min: 352, recharge_min: 0, co-ords changed: False 2022-04-29 14:16:32,646 ThreadPoolExecutor-0_1 udi_interface INFO roomba:update_state_machine: updated state to: Charging 2022-04-29 14:16:33,646 Thread-1 udi_interface INFO roomba:process_q: Received Roomba Data: wifistat, b'{"state":{"reported":{"signal":{"rssi":-58,"snr":19,"noise":-77}}}}' 2022-04-29 14:16:32,646 ThreadPoolExecutor-0_1 udi_interface INFO roomba:update_state_machine: updated state to: Charging 2022-04-29 14:16:33,646 Thread-1 udi_interface INFO roomba:process_q: Received Roomba Data: wifistat, b'{"state":{"reported":{"signal":{"rssi":-58,"snr":19,"noise":-77}}}}' 2022-04-29 14:16:33,651 ThreadPoolExecutor-0_0 udi_interface INFO roomba:update_state_machine: current_state: Charging, current phase: charge, mission: clean, mission_min: 352, recharge_min: 0, co-ords changed: False 2022-04-29 14:16:33,651 ThreadPoolExecutor-0_0 udi_interface INFO roomba:update_state_machine: current_state: Charging, current phase: charge, mission: clean, mission_min: 352, recharge_min: 0, co-ords changed: False 2022-04-29 14:16:33,653 ThreadPoolExecutor-0_0 udi_interface INFO roomba:update_state_machine: updated state to: Charging
-
Elk has naming restrictions and only organizes them by zone number. ISY organizes alphabetically and doesn't really have naming restrictions. So after I uploaded Elk into ISY, I renamed things with longer names and names that would alphabetize logically. In short, I would not want the node server to rewrite my changes back to what is on Elk. Of course I would have no objection to it having that as an option that I could turn off.
-
Ok, I must be dumb (Programs not running)
apostolakisl replied to Pacman's topic in New user? Having trouble? Start here
I would stick with static IP's (actually I would do DHCP with reserved address for Polisy set in your router). It is good to have ISY/Polisy always at the same IP. But as Mr Bill said, I would not open any ports in your router firewall. The portal is very cheap and bypasses the risk of opening ports. Especially now that Polisy will be the destination of that port forward and polisy I suspect could be more capable of wreaking havoc (vs ISY) if someone got control of it. -
Ok, I must be dumb (Programs not running)
apostolakisl replied to Pacman's topic in New user? Having trouble? Start here
If you do a "run then" and "run else" does it turn the light on/off? Does the program summary page show the last time it ran (on its own, not from you doing a run then/else) and was that last run time appropriately true/false and at the correct time? Also, I see you have set conditions for the program folder. The green line on it means it is currently true. So, what are those conditions and could they be false when the program is supposed to run. -
I finally got the pg3 roomba node working again. I am quite certain my i7 used to report x/y/theta position, but now it does not. It shows error in the log and 0's across the admin console. Is there something wrong with my roomba or did something change with the roomba software? I see there was an update to the software 2 days ago.
-
Anyone who wants the IR config files for Channel Plus MDS-6A whole house music system, here they are. Took a lot of screwing around to get them all put together. I don't think they make these anymore, but mine works pretty well. GC doesn't have this on their repository. "whole house on","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,274,19,178,19,178,19,178,19,274,19,3858" "whole house off","sendir,1:1,1,38343,1,1,15,180,14,181,19,176,19,176,19,176,19,272,19,272,19,176,19,176,19,177,19,272,19,4907" "system off","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,274,19,274,19,274,19,178,19,178,19,178,19,3858" "Zone on/off","sendir,1:1,1,38226,1,1,10,185,10,184,14,181,19,176,19,176,19,176,19,176,19,176,19,176,19,176,19,176,19,3822" "Volume Up","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,178,19,274,19,178,19,178,19,3858" "Volume Down","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,274,19,178,19,178,19,274,19,178,19,178,19,3858" "Mute","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,178,19,178,19,274,19,178,19,3858" "Do Not Disturb","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,178,19,178,19,274,19,274,19,3858" "Source 6","sendir,1:1,1,38343,1,1,16,179,12,183,12,183,13,182,14,181,16,275,19,176,19,272,19,176,19,176,19,176,19,3834" "Source 5","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,274,19,274,19,178,19,178,19,3858" "Source 4","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,274,19,178,19,274,19,274,19,3858" "Source 3","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,274,19,178,19,274,19,178,19,3858" "Source 2","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,274,19,178,19,178,19,274,19,3858" "Source 1","sendir,1:1,1,38580,1,1,19,177,19,177,19,177,19,178,19,178,19,178,19,178,19,274,19,178,19,178,19,178,19,3858"
-
I have both a DSC at the office and Elk at home. DSC makes some stuff to program them via a computer interface, I have no idea what it looks like but as a consumer, not sure you can get it. It is very tedious to program DSC using the keypads and quite confusing. I do not recommend it except for basic alarm system. I did link it to ISY using Nodelink and was able to fancy it up a bit using ISY logic, but I had to be creative. Mostly, I use some zones as doorbells and was able to use the outputs to control a water valve, but only because ISY was doing the logic. Stick with your Elk since you've got it. Only good thing about DSC is they are very cheap.
-
How can I remove PG3 from Polisy to restart from scratch
apostolakisl replied to apostolakisl's topic in Polisy
This is killing me. I wish I had stayed with ISY and not done this migration. I finally deleted the node servers that were pg3 from the ISY admin console because I could not get control of them in PG3. I then did sudo pkg delete pg3 sudo cp /var/polyglot/pg3/pg3db_xxxxxxxxxx /var/polyglot/pg3/pg3.db sudo install pkg pg3 Logged back into pg3. PG3 still had my configurations from earlier, so I figured something was up with that. Tried to add in my first PG3 node (itach). It added in and itach showed up in ISY. Then I tried to configure it. It won't configure. I cut and paste the same configuration I had from before. AutoScroll 2022-04-27 20:06:16,756 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-04-27 20:06:18,758 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.32 Starting... 2022-04-27 20:06:18,915 MainThread udi_interface INFO initializer:<module>: __name__ == "__main__" init called 2022-04-27 20:06:18,926 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.1.9', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'} 2022-04-27 20:06:18,928 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-04-27 20:06:18,936 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: Node server config has not yet been recieved. 2022-04-27 20:06:18,937 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'set': [{'address': 'itachir', 'driver': 'ST', 'value': '1', 'uom': 2}]} 2022-04-27 20:06:18,985 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-04-27 20:06:18,986 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:bf:4c_20 - MID: 1 Result: 0 2022-04-27 20:06:18,999 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-04-27 20:06:21,971 MainThread udi_interface.interface INFO interface:addNode: Adding node iTach IR(itachir) [None] 2022-04-27 20:06:22,245 Thread-1 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:06:22,247 Thread-1 udi_interface ERROR udi_interface:write: Thread-1 2022-04-27 20:06:22,248 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:06:22,248 Thread-1 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:06:22,249 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:06:22,255 Thread-1 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:06:22,256 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:06:22,260 Thread-1 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:06:22,260 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/objects/LiveObject.py", line 40, in update 2022-04-27 20:06:22,262 Thread-1 udi_interface ERROR udi_interface:write: handler(value) 2022-04-27 20:06:22,262 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 125, in parameterHandler 2022-04-27 20:06:22,264 Thread-1 udi_interface ERROR udi_interface:write: self.processParameters(params=params) 2022-04-27 20:06:22,264 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 146, in processParameters 2022-04-27 20:06:22,266 Thread-1 udi_interface ERROR udi_interface:write: LOGGER.info('Process Params: ' + str(len(params))) 2022-04-27 20:06:22,266 Thread-1 udi_interface ERROR udi_interface:write: TypeError 2022-04-27 20:06:22,267 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:06:22,268 Thread-1 udi_interface ERROR udi_interface:write: object of type 'NoneType' has no len() 2022-04-27 20:07:00,478 Thread-4 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:07:00,479 Thread-4 udi_interface ERROR udi_interface:write: Thread-4 2022-04-27 20:07:00,480 Thread-4 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:00,481 Thread-4 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:07:00,481 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:07:00,486 Thread-4 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:07:00,486 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:07:00,490 Thread-4 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:07:00,491 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/objects/LiveObject.py", line 40, in update 2022-04-27 20:07:00,493 Thread-4 udi_interface ERROR udi_interface:write: handler(value) 2022-04-27 20:07:00,493 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 125, in parameterHandler 2022-04-27 20:07:00,495 Thread-4 udi_interface ERROR udi_interface:write: self.processParameters(params=params) 2022-04-27 20:07:00,496 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 148, in processParameters 2022-04-27 20:07:00,497 Thread-4 udi_interface ERROR udi_interface:write: self.processDefinedParams(params) 2022-04-27 20:07:00,498 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 186, in processDefinedParams 2022-04-27 20:07:00,500 Thread-4 udi_interface ERROR udi_interface:write: url = params[Params.url.value] 2022-04-27 20:07:00,500 Thread-4 udi_interface ERROR udi_interface:write: KeyError 2022-04-27 20:07:00,501 Thread-4 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:00,502 Thread-4 udi_interface ERROR udi_interface:write: 'url' 2022-04-27 20:07:07,668 Thread-5 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:07:07,670 Thread-5 udi_interface ERROR udi_interface:write: Thread-5 2022-04-27 20:07:07,670 Thread-5 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:07,671 Thread-5 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:07:07,671 Thread-5 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:07:07,676 Thread-5 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:07:07,676 Thread-5 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:07:07,680 Thread-5 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:07:07,681 Thread-5 udi_interface ERROR udi_interface:write: TypeError 2022-04-27 20:07:07,682 Thread-5 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:07,682 Thread-5 udi_interface ERROR udi_interface:write: update() missing 1 required positional argument: 'value' 2022-04-27 20:07:15,233 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-04-27 20:07:17,944 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.32 Starting... 2022-04-27 20:07:17,985 MainThread udi_interface INFO initializer:<module>: __name__ == "__main__" init called 2022-04-27 20:07:17,993 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.1.9', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'} 2022-04-27 20:07:17,995 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-04-27 20:07:18,002 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: Node server config has not yet been recieved. 2022-04-27 20:07:18,003 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'set': [{'address': 'itachir', 'driver': 'ST', 'value': '1', 'uom': 2}]} 2022-04-27 20:07:18,053 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-04-27 20:07:18,055 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:bf:4c_20 - MID: 1 Result: 0 2022-04-27 20:07:18,075 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-04-27 20:07:21,034 MainThread udi_interface.interface INFO interface:addNode: Adding node iTach IR(itachir) [None] 2022-04-27 20:07:21,316 Thread-1 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:07:21,319 Thread-1 udi_interface ERROR udi_interface:write: Thread-1 2022-04-27 20:07:21,319 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:21,320 Thread-1 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:07:21,321 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:07:21,325 Thread-1 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:07:21,326 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:07:21,330 Thread-1 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:07:21,331 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/objects/LiveObject.py", line 40, in update 2022-04-27 20:07:21,333 Thread-1 udi_interface ERROR udi_interface:write: handler(value) 2022-04-27 20:07:21,333 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 125, in parameterHandler 2022-04-27 20:07:21,335 Thread-1 udi_interface ERROR udi_interface:write: self.processParameters(params=params) 2022-04-27 20:07:21,335 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 148, in processParameters 2022-04-27 20:07:21,337 Thread-1 udi_interface ERROR udi_interface:write: self.processDefinedParams(params) 2022-04-27 20:07:21,338 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 186, in processDefinedParams 2022-04-27 20:07:21,339 Thread-1 udi_interface ERROR udi_interface:write: url = params[Params.url.value] 2022-04-27 20:07:21,340 Thread-1 udi_interface ERROR udi_interface:write: KeyError 2022-04-27 20:07:21,340 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:21,341 Thread-1 udi_interface ERROR udi_interface:write: 'url' 2022-04-27 20:07:43,714 Thread-4 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:07:43,715 Thread-4 udi_interface ERROR udi_interface:write: Thread-4 2022-04-27 20:07:43,716 Thread-4 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:43,717 Thread-4 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:07:43,717 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:07:43,722 Thread-4 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:07:43,723 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:07:43,727 Thread-4 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:07:43,728 Thread-4 udi_interface ERROR udi_interface:write: TypeError 2022-04-27 20:07:43,729 Thread-4 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:43,730 Thread-4 udi_interface ERROR udi_interface:write: update() missing 1 required positional argument: 'value' 2022-04-27 20:07:48,856 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-04-27 20:07:51,328 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.32 Starting... 2022-04-27 20:07:51,369 MainThread udi_interface INFO initializer:<module>: __name__ == "__main__" init called 2022-04-27 20:07:51,377 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.1.9', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'} 2022-04-27 20:07:51,379 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-04-27 20:07:51,385 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: Node server config has not yet been recieved. 2022-04-27 20:07:51,386 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'set': [{'address': 'itachir', 'driver': 'ST', 'value': '1', 'uom': 2}]} 2022-04-27 20:07:51,432 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-04-27 20:07:51,434 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:52:bf:4c_20 - MID: 1 Result: 0 2022-04-27 20:07:51,446 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-04-27 20:07:54,401 MainThread udi_interface.interface INFO interface:addNode: Adding node iTach IR(itachir) [None] 2022-04-27 20:07:54,676 Thread-1 udi_interface ERROR udi_interface:write: Exception in thread 2022-04-27 20:07:54,678 Thread-1 udi_interface ERROR udi_interface:write: Thread-1 2022-04-27 20:07:54,681 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:54,682 Thread-1 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-04-27 20:07:54,682 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-04-27 20:07:54,687 Thread-1 udi_interface ERROR udi_interface:write: self.run() 2022-04-27 20:07:54,688 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-04-27 20:07:54,692 Thread-1 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-04-27 20:07:54,692 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/objects/LiveObject.py", line 40, in update 2022-04-27 20:07:54,694 Thread-1 udi_interface ERROR udi_interface:write: handler(value) 2022-04-27 20:07:54,694 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 125, in parameterHandler 2022-04-27 20:07:54,696 Thread-1 udi_interface ERROR udi_interface:write: self.processParameters(params=params) 2022-04-27 20:07:54,696 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 148, in processParameters 2022-04-27 20:07:54,698 Thread-1 udi_interface ERROR udi_interface:write: self.processDefinedParams(params) 2022-04-27 20:07:54,699 Thread-1 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:4c_20/nodes/controller/controller.py", line 186, in processDefinedParams 2022-04-27 20:07:54,700 Thread-1 udi_interface ERROR udi_interface:write: url = params[Params.url.value] 2022-04-27 20:07:54,701 Thread-1 udi_interface ERROR udi_interface:write: KeyError 2022-04-27 20:07:54,701 Thread-1 udi_interface ERROR udi_interface:write: : 2022-04-27 20:07:54,702 Thread-1 udi_interface ERROR udi_interface:write: 'url' -
How can I remove PG3 from Polisy to restart from scratch
apostolakisl replied to apostolakisl's topic in Polisy
It said it restored, this is from pre IoP migration. But PG3 says it can find no ISY's. I tried manually entering info, and nothing. Rebooted PG3 multipel times. I guess I try rebooting polisy. -
How can I remove PG3 from Polisy to restart from scratch
apostolakisl replied to apostolakisl's topic in Polisy
Changed from "localhost" to the ip address and now I have the unmanaged nodes. How do I get PG3 ones to be managed again? I do have a backup but nothing seems to happen when I try to restore it. -
How can I remove PG3 from Polisy to restart from scratch
apostolakisl replied to apostolakisl's topic in Polisy
I do have a backup and tried to restore it but nothing happens. I put in the password, it says it is connected. -
How can I remove PG3 from Polisy to restart from scratch
apostolakisl replied to apostolakisl's topic in Polisy
OK, PG3 now opens without phantom ISY. It found the correct uuid for IoP and says it is connected. But there are no nodes listed, managed or otherwise. Before it listed all of my nodes as unmanaged, PG2 and ones I had previously set up on PG3. I am hoping to get my PG3 nodes back to "managed" on PG3. EDIT: and when I say "before it listed. . " I mean after moving to IoP and before the deletion I just did a few minutes ago. Everything was fine before IoP migration -
I'm trying to remove PG3 from polisy and then start with a virgin install of it. I have tried sudo pkg delete pg3 But it does not delete the "user" and "group" and asks me to manually do so. I do not know how to do that and also have concern that perhaps pg2 is stored there. [admin@polisy ~]$ sudo pkg delete pg3 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: pg3: 3.0.59 Number of packages to be removed: 1 The operation will free 62 MiB. Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling pg3-3.0.59... [1/1] Deleting files for pg3-3.0.59: 100% ==> You should manually remove the "polyglot" user. ==> You should manually remove the "polyglot" group
-
5.3.3 @Michel Kohanim
-
Looks like after doing a restore on every device, this problem is solved. Not sure how or why it got messed up. Because of the program that started this whole thread is one I use every day, I know that the problem started right after I switched to IoP.
-
I went through and right clicked every device and hit restore. Like 75 of them. Gonna take a while.
-
I added a brand new 2477D switch to the network and it worked correctly. So I tried restoring one of the already installed ones and now it works. I guess I'm going to need to restore all of them? I don't think this is a link issue but rather how ISY is processing info on the links.
-
I suppose, but the links aren't on IoP, they are on the PLM and device. And yes, I restored a backup. I was shocked at how the backup restored. It was basically instant.
-
It is every single 2477D, at least of the ones I tested and that is about a dozen. Plus, there is no mechanism to lose links by just pluggin the plm into a different controller. The links are all on the plm and devices, none of which have had any changes. I posted a screenshot of everything that happens when I click the "on" paddle. You get a DON. Also, all the other stuff you might do like dimming or clicking off produce status updates, and those aren't different links, they are just different responses to the same link.
-
I can duplicate it, I just don't know why it would only be my system. It happens like this every single time. IoP is receiving the DON signal as seen in the event log, in addition, it responds to the DON programatically. In other words the following program works: If 2477D is switched on Then do something. It is only the status that does not update.
-
The program isn't exactly the issue, it is just what immediately brought the problem to my attention. The problem is that ISY is not registering a status change with a press of the "on" paddle for that switch, local control in other words. So the light is still listed as off (or whatever it was) after I click it on, that causes the program to misbehave through no fault of its own. If the light is turned on by any other method, it does register as being not off. In other words, dim up, dim down, responding to a scene, and probably fast on but I haven't checked that one. If the admin console says the light is at 50% and I click "on", it still says 50%. If it says "off" and I click "on", it still says "off". If it is 100%, and I click dim up, it now says 100%. I the light is off, I click "on", it still says "off", but if I do a query, it then says "100%". Every single 2477D I have tested is behaving the same. The screen shot of the event viewer showing the "DON" comm and the admin console status showing "off" at the same time tells the story.
-
@Michel Kohanim Doesn't appear to be a problem with 2477S. Just 2477D.
-
OK, it works. A bit of a cludge, but whatever. If you have an old ISY 99i with IR. 1) Factory Reset 2) Boot it up with a plm plugged in 3) Open admin console http://your.isy.ip.address/admin.jnlp 4) Delete PLM 5) Go to the IR tab and load the default 40 codes 6) Setup network resources in your 99i to trigger your IoP pointing to the program/node/etc you desire the IR button to act on. https://wiki.universal-devices.com/index.php?title=ISY_Developers:API:REST_Interface 7) Write a program on 99i If IR 'IR_003' is Pressed Then Resource 'Name.1' Else - No Actions - (To add one, press 'Action')