-
Posts
4959 -
Joined
-
Last visited
Everything posted by MWareman
-
I tried again - this time setting my ISY settings (and other parameters) into the .env file (it was not present last time). This is the log I got on start: The IP I've blanked is the IP of the lan interface of Polisy (where the ISY is listening on port 8080). It appears to fail to connect. The Polyglot 'Settings' page is exactly as before - I cannot make any changes persistent. I still get the 'Not connected to server' error - but it's not clear which server it cannot connect to (ISY, MQTT or MongoDB). Still not quite sure what to try next.. Thanks! Michael.
-
Done - but something still not right. I rebooted after deleting the /var/db/mongodb (the mongodb was recreated at startup). Polyglot is running. However - the settings page has strange default - and when I try to save nothing is persistent: There is no .env file: The log shows it reading from the .env though: Overall - I'm still kind of stuck getting Polyglot on Polisy going again.
-
Does the 2448A7 work for Insteon control (assuming strong wireless to wired bridging)? This would be amazing - and remove a common failure mode (power issues bricking the PLM)
-
I can confirm it does. Received my Zooz 700 today - plugged it right in... got this in /var/log/messages Nov 8 17:49:04 polisy kernel: ugen0.3: <Silicon Labs CP2102N USB to UART Bridge Controller> at usbus0 Nov 8 17:49:04 polisy kernel: uslcom0 on uhub0 Nov 8 17:49:04 polisy kernel: uslcom0: <Silicon Labs CP2102N USB to UART Bridge Controller, class 0/0, rev 2.00/1.00, addr 2> on usbus0 I know if wont work yet - but (hopefully) all ready to go!
-
How did you do this? You cannot configure PG2 to connect to two different ISYs. I'm trying to stop Polyglot reporting to my physical ISY - and have it report to the ISY/Polisy. To do this I'm following the process I laid out. Backed up - restored to a RPI (which worked). Now I'm trying to reset Polyglot on Polisy so I can configure it to talk tot he ISY on Polisy. That may well be the case. If you changed the IP in Polyglot then one-by-one removed and reinstalled each Poly. This would not have worked for me unfortunately since not only do I have more polys - they are deeply integrated into programs on the ISY. It will take me a few days to get things moved over - and the WAF would not tolerate many things simply not working for a few days. I'm at a point now I can begin setting up the polys again on Polisy - but need to reset Polyglot to default first (without blowing away the ISY/Polisy config).
-
With PG2 - you cannot do one at a time. I have a number of polys configured and wanted to preserve that. Hence - backing up and restoring to a nerw Polyglot install (which is working fine). Now - the Polyglot on Polisy is in a 'funky' state. "Not connected to server... Try refreshing the page. This will disappear once the connection is re-established" It never does get reconnected. I suspect I need to blank out the Mongo DB and remove the nodes from the filesystem. I cannot for the life of me find the command to zero the MongoDB though. The 'Polyglot Settings' page in Polisy appears to have reset to some odd default - port 3000, no IP for the MQTT daemon etc. I try to set the correct values - but they won't save.
-
I backed up my Polyglot config on the Polisy - and built a new Ployglot host (RaspberryPi). I restored the backup and this is now running the polys to my hardware ISY. I now need to reset Polyglot on the Polisy so that I can connect it to the ISY running on Polisy - and begin configuring the polys there. What is the best way to do this without a full reset of Polisy (which would blow away to ISY configuration as well)? Thank you! Michael.
-
This is what I thought. It’s a shame as it presents a very difficult migration for any pg2 nodeservers reporting to a physical ISY.
-
Does this require pg3 as well - or is it possible under pg2? Currently, pg2 on my Polisy is connected to my physical ISY. However, I’m moving my Insteon devices to ISY running on Polisy and trying to figure out how to move the nodeservers over. I’d rather do one at a time.
-
Timezone setting and location for sunrise/sunset
MWareman replied to MWareman's topic in IoX Support
Thank you so much! An email has been sent. I appreciate it. Michael. -
Timezone setting and location for sunrise/sunset
MWareman replied to MWareman's topic in IoX Support
@Michel Kohanim Fantastic - that resolved the timezone issue. Thank you so much! One minor issue does still remain. On physical ISY - we had the ability to set a custom location. In my case - I am ~50 miles west of Chicago and the sunrise and set times are ever so slightly different. Physical ISY: ISY on PolISY: ISY on Polisy is now learning the timezone from the underlying OS - but we appear to have lost the ability to put in a latitude and longitude for the sunrise/sunset calculation. Is this no longer possible (if not, can it be added back?) Thank you! -
Awesome! This worked flawlessly. Sending to 224.0.0.1 (the multicast address for "All systems on this subnet") did the trick. Since multicast implies udp anyway - is there a functional difference between selecting 'udp' or 'multicast' in the NR? Either appears to work the same and produce the same payload. Thank you!
-
My Polisy is set to Chicago: However - the dashboard on ISY running on Polisy is using LA as my location for the timezone and sunrise/sunset calculation: The actual timezone settings of the clock are not available in the java UI for ISY on Polisy (unlike native ISY where there are options on this screen for setting the timezone). Isn't it supposed to inherit the timezone of the Polisy it's running on? Michael.
-
The nc command works - but I have wireshark running on another host and it does not show any packets when I send them. Changing the IP in the nc command to a unicast (where wireshark is running) and the packets arrive.
-
I have tried the network broadcast address as well with the same issues. I also tried Netcat on POLISY with the same issue (nc -u 255.255.255.255 50223). Netcat additionally documents -b flag on FreeBSD (https://www.freebsd.org/cgi/man.cgi?query=netcat) but this option is missing from the implementation on POLISY: [admin@polisy ~]$ nc -u -b 172.20.255.255 50223 Password: nc: invalid option -- b usage: nc [-46DdEFhklNnrStUuvz] [-e policy] [-I length] [-i interval] [-O length] [--no-tcpopt] [--sctp] [-P proxy_username] [-p source_port] [-s source] [-T ToS] [-V rtable] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port] [admin@polisy ~]$
-
Hello, I suspect the ISY daemon is not running with permissions necessary to send broadcast packets. I have this rule which works flawlessly on native ISY - but packets are not sent when the same rule runs on ISY on POLISY.. Is there a way I can allow the daemon to send UDP to the broadcast address? Michael.
-
-
[admin@polisy ~]$ kldstat Id Refs Address Size Name 1 42 0xffffffff80200000 1221330 kernel 2 1 0xffffffff81422000 6832d8 zfs.ko 3 1 0xffffffff81aa6000 5c10 nctgpio.ko 4 2 0xffffffff81aac000 7bf8 superio.ko 5 1 0xffffffff81d10000 c80 apuled.ko 6 1 0xffffffff81d11000 a50 resetsw.ko 7 1 0xffffffff81d12000 8320 uftdi.ko 8 1 0xffffffff81d1b000 4b60 ng_ubt.ko 9 6 0xffffffff81d20000 aac8 netgraph.ko 10 2 0xffffffff81d2b000 a238 ng_hci.ko 11 3 0xffffffff81d36000 25a8 ng_bluetooth.ko 12 1 0xffffffff81d39000 e250 ng_l2cap.ko 13 1 0xffffffff81d48000 1ce48 ng_btsocket.ko 14 1 0xffffffff81d65000 3980 ng_socket.ko 15 1 0xffffffff81d69000 2a08 mac_ntpd.ko [admin@polisy ~]$ sudo service isy restart Password: Stopping isy. Setting permissions for ISY directories/files udx is running as pid 1216. you can disable uftdi driver by adding isy_load_uftdi=NO in /etc/rc.conf 7 1 0xffffffff81d12000 8320 uftdi.ko Starting isy. [admin@polisy ~]$ I'll confirm functionality of the PLM and cable by using another device - but it's a brand new PLM.
-
Nope - I'm at 13: [admin@polisy ~]$ uname -a FreeBSD polisy 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #13 releng/13.0-n244760-940681634ee: Wed Aug 25 16:44:58 UTC 2021 ec2-user@bsdev.isy.io:/usr/obj/usr/src/amd64.amd64/sys/POLISY amd64 [admin@polisy ~]$ Package cache is up to date: [admin@polisy ~]$ sudo pkg update && sudo pkg upgrade Updating FreeBSD-base repository catalogue... pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:13:amd64/latest/packagesite.pkg: Not Found FreeBSD-base repository is up to date. Updating udi repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 108 KiB 110.4kB/s 00:01 Processing entries: 100% udi repository update completed. 399 packages processed. All repositories are up to date. Updating FreeBSD-base repository catalogue... pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:13:amd64/latest/packagesite.pkg: Not Found FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. [admin@polisy ~]$ I had previously run the 13 upgrade - but running it again: [admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash The following package files will be deleted: /var/cache/pkg/FreeBSD-kernel-polisy-13.0p4~fc5930b9ca.txz /var/cache/pkg/FreeBSD-kernel-polisy-13.0p4.txz The cleanup will free 16 MiB Deleting files: 100% All done Updating ports repo to 13 Updating FreeBSD-base repository catalogue... pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:13:amd64/latest/packagesite.pkg: Not Found FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed No packages matched for pattern 'FreeBSD-*-12*' Checking integrity... done (0 conflicting) 1 packages requested for removal: 0 locked, 1 missing Updating FreeBSD-base repository catalogue... pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:13:amd64/latest/packagesite.pkg: Not Found FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) Your packages are up to date. Updating FreeBSD-base repository catalogue... pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:13:amd64/latest/packagesite.pkg: Not Found FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. Nothing to do. Update APULED and RESETSW /boot/kernel /usr/home/admin x apuled.ko x resetsw.ko /usr/home/admin python38 already installed python3 already installed py38-cryptography already installed py38-netifaces already installed py38-pip already installed py38-pycryptodome already installed py38-yaml already installed py38-dateparser already installed py38-holidays already installed py38-certbot already installed py38-aiohttp already installed py38-zeep already installed py38-sqlite3 already installed upgrading nodeserver requirements updating Backup Requirement already satisfied: polyinterface>=2.0.28 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: xmltodict>=0.12.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (0.12.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.18.0) updating DarkSky Requirement already satisfied: polyinterface>=2.0.28 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests>=2.0 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (2021.5.30) updating ELK Requirement already satisfied: polyinterface>=2.0.34 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: elkm1_lib==0.8.8 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (0.8.8) Requirement already satisfied: pyserial-asyncio<0.5.0,>=0.4.0 in /var/polyglot/.local/lib/python3.8/site-packages (from elkm1_lib==0.8.8->-r requirements.txt (line 2)) (0.4) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: pyserial in /var/polyglot/.local/lib/python3.8/site-packages (from pyserial-asyncio<0.5.0,>=0.4.0->elkm1_lib==0.8.8->-r requirements.txt (line 2)) (3.5) updating ISY-Inventory Requirement already satisfied: polyinterface>=2.0.34 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2021.5.30) updating Kasa Requirement already satisfied: polyinterface>=2.1.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: deprecation in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.1.0) Requirement already satisfied: python-kasa in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (0.4.0.dev3) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: packaging in /var/polyglot/.local/lib/python3.8/site-packages (from deprecation->-r requirements.txt (line 2)) (20.9) Requirement already satisfied: importlib-metadata in /var/polyglot/.local/lib/python3.8/site-packages (from python-kasa->-r requirements.txt (line 3)) (4.6.0) Requirement already satisfied: asyncclick<8,>=7 in /var/polyglot/.local/lib/python3.8/site-packages (from python-kasa->-r requirements.txt (line 3)) (7.1.2.3) Requirement already satisfied: anyio>=2 in /var/polyglot/.local/lib/python3.8/site-packages (from asyncclick<8,>=7->python-kasa->-r requirements.txt (line 3)) (3.2.1) Requirement already satisfied: sniffio>=1.1 in /var/polyglot/.local/lib/python3.8/site-packages (from anyio>=2->asyncclick<8,>=7->python-kasa->-r requirements.txt (line 3)) (1.2.0) Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.8/site-packages (from anyio>=2->asyncclick<8,>=7->python-kasa->-r requirements.txt (line 3)) (2.10) Requirement already satisfied: zipp>=0.5 in /var/polyglot/.local/lib/python3.8/site-packages (from importlib-metadata->python-kasa->-r requirements.txt (line 3)) (3.4.1) Requirement already satisfied: pyparsing>=2.0.2 in /var/polyglot/.local/lib/python3.8/site-packages (from packaging->deprecation->-r requirements.txt (line 2)) (2.4.7) updating LiFX Requirement already satisfied: lifxlan>=1.2.5 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.2.7) Requirement already satisfied: pyyaml>=3.12 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (5.4.1) Requirement already satisfied: polyinterface>=2.0.34 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (2.1.0) Requirement already satisfied: bitstring in /var/polyglot/.local/lib/python3.8/site-packages (from lifxlan>=1.2.5->-r requirements.txt (line 1)) (3.1.7) Requirement already satisfied: ifaddr in /var/polyglot/.local/lib/python3.8/site-packages (from lifxlan>=1.2.5->-r requirements.txt (line 1)) (0.1.7) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 3)) (0.18.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 3)) (1.5.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 3)) (0.11.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 3)) (2.4.0) updating MQTT Requirement already satisfied: polyinterface>=2.1.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: pyyaml>=5.3.1 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (5.4.1) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.18.0) updating MagicHome Collecting git+git://github.com/fahrer16/flux_led (from -r requirements.txt (line 2)) Cloning git://github.com/fahrer16/flux_led to /tmp/pip-req-build-5lmxhjat Running command git clone -q git://github.com/fahrer16/flux_led /tmp/pip-req-build-5lmxhjat Requirement already satisfied: polyinterface>=2.0.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (1.5.1) updating MyQ Requirement already satisfied: polyinterface>=2.1.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.1.0->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.21.0->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.21.0->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.21.0->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.21.0->-r requirements.txt (line 2)) (2021.5.30) updating Ping Requirement already satisfied: polyinterface>=2.0.29 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (1.5.1) updating Push Requirement already satisfied: polyinterface>=2.0.29 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2021.5.30) updating RokuMediaPlayer Requirement already satisfied: polyinterface>=2.0.28 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests>=2.0 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.0->-r requirements.txt (line 2)) (2021.5.30) updating Sonos Requirement already satisfied: soco>=0.17 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.22.6) Requirement already satisfied: polyinterface>=2.0.29 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.1.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 2)) (1.5.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 2)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 2)) (0.11.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.29->-r requirements.txt (line 2)) (0.18.0) Requirement already satisfied: xmltodict in /var/polyglot/.local/lib/python3.8/site-packages (from soco>=0.17->-r requirements.txt (line 1)) (0.12.0) Requirement already satisfied: ifaddr in /var/polyglot/.local/lib/python3.8/site-packages (from soco>=0.17->-r requirements.txt (line 1)) (0.1.7) Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from soco>=0.17->-r requirements.txt (line 1)) (2.25.1) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests->soco>=0.17->-r requirements.txt (line 1)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->soco>=0.17->-r requirements.txt (line 1)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->soco>=0.17->-r requirements.txt (line 1)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->soco>=0.17->-r requirements.txt (line 1)) (2021.5.30) updating Sun Requirement already satisfied: polyinterface>=2.0.34 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: astral>=2.1.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.2) Requirement already satisfied: tzlocal>=2.0.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (2.1) Requirement already satisfied: pytz in /usr/local/lib/python3.8/site-packages (from astral>=2.1.0->-r requirements.txt (line 2)) (2021.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (2.4.0) updating Timedata Requirement already satisfied: polyinterface>=2.0.34 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.8.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.34->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.8/site-packages (from python-dateutil>=2.7.3->-r requirements.txt (line 2)) (1.16.0) updating UnifiPresence Requirement already satisfied: polyinterface>=2.0.19 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: xmltodict in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (0.12.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.19->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.19->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.19->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.19->-r requirements.txt (line 1)) (1.5.1) updating Virtual Requirement already satisfied: polyinterface>=2.0.0 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.4.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.0->-r requirements.txt (line 1)) (0.18.0) updating WeatherFlowPoly Requirement already satisfied: polyinterface>=2.0.28 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: urllib3>=1.23 in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (0.11.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.28->-r requirements.txt (line 1)) (2.4.0) updating WirelessTag Requirement already satisfied: polyinterface>=2.0.27 in /var/polyglot/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (2.1.0) Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.25.1) Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (0.11.0) Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.27->-r requirements.txt (line 1)) (2.4.0) Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.27->-r requirements.txt (line 1)) (0.18.0) Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from polyinterface>=2.0.27->-r requirements.txt (line 1)) (1.5.1) Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (1.26.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->-r requirements.txt (line 2)) (2021.5.30) Done, please reboot: shutdown -r now [admin@polisy ~]$ Nothing updated at all - but I am interested in this line: 1 packages requested for removal: 0 locked, 1 missing Rebooted - and still getting 'Not found': Not sure what to check next... Thank you!
-
Struggling to get any Insteon devices to work. When 'Link Management' 'New Insteon Device' I enter the device identifier (triple checked) - and get this error: I have a USB PLM hooked up to POLISY - running: 'Tools' 'Diagnostics' 'PLM Info' shows: Seems to be the cause.. POLISY is not seeing the PLM Insteon support is enabled: I have tried the PLM in both USB ports. A 'sudo usbconfig list' appears to list the PLM: Is there anything else I can try? POLISY has been rebooted a couple of time - and also a full power off and back on. Same results. Thanks!
-
State variables are tested with each loop cycle I believe - they don't need to be called or triggered. A trigger event occurs when the State variable changes from it's prior value. Programs that have a State variable in their 'If' that just changed will then have a trigger queued for them. If a running program is 'waiting' - and such a trigger is received, it restarts execution by evaluating the test. At least - this is how I remember it..
-
Tim, This worked perfectly! Thank you so much! Michael.
-
So - 4 pack arrived. These things certainly respond fast to the app on Android and IOS. To get then working from ISY. This is what I've found (It's a little dated - but the Bash script works!): https://blog.georgovassilis.com/2016/05/07/controlling-the-tp-link-hs100-wi-fi-smart-plug/ Putting this script on a Linux system and running it I am able to turn the outlet on and off. Win. It lists the following TCP payloads sent to TCP/9999: On: AAAAKtDygfiL/5r31e+UtsWg1Iv5nPCR6LfEsNGlwOLYo4HyhueT9tTu36Lfog== Off: AAAAKtDygfiL/5r31e+UtsWg1Iv5nPCR6LfEsNGlwOLYo4HyhueT9tTu3qPeow== This is run thru base64 to decode it - and then piped to Netcat to send the binary stream to the device. Works beautifully. Running into trouble on ISY though. Working with 'On' - I convert the Base64 string to Ascii value (which is what I believe ISY should accept): https://www.multiutil.com/base64-to-binary-converter/ 0,0,0,42,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,239,148,182,197,160,212,139,239,191,189,239,191,189,239,191,189,239,191,189,196,176,209,165,239,191,189,239,191,189,216,163,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,239,191,189,223,162,223,162 Converting the commas to semicolons gives: 0;0;0;42;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;239;148;182;197;160;212;139;239;191;189;239;191;189;239;191;189;239;191;189;196;176;209;165;239;191;189;239;191;189;216;163;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;239;191;189;223;162;223;162 As a Network rule: Save and test and..... It does not work Seems to be the same payload - but obviously missing something. Does anyone have a working example? I'm trying to avoid using the Poly so I can use a network rule on each of my three ISYs to control any of the devices. Thanks!
-
Thank you all! 4-pack ordered....
-
Thank you! I was hoping Kasa had a 100% local API. From what I’ve read not all devices support it, but I’m willing to give some a try. Thank you!