
johnnyt
Members-
Posts
1246 -
Joined
-
Last visited
Everything posted by johnnyt
-
I have a ticket open that lists many (but not all) the problems I've all of sudden encountered. I would add that even if it turns out to NOT be the board that's the problem this time, I'd still like to know how to swap one (assuming it's doable - is it?). I'm hoping it's not unlike replacing a PLM in principle though hopefully not in frequency
-
I think the internal Zmatter board in my Polisy is failing and I have a USB ZMatter board I would like to swap in. I wanted to make sure the following is what I would need to do: 1) backup zwave in AC 2) power off Polisy and remove internal Zmatter board 3) plug in USB Zmatter and power ON Polisy 4) once booted up restore zwave 5) reboot Is that right? Also, before powering off (step 2) would it help if I disabled "Zwave Support" in AC then re-enable it after step 4?
-
It does have the makings of a great NS, and yeah, for sure I may put a wish list together. I'm only starting to try stuff so I'm focusing/posting on getting the initial stuff I want to do working. So far the only thing that's actually working for me the way I'd like/expect (that I've tried) is changing the volume on a speaker, however it doesn't work for the 'say' command I want it to work for (as mentioned in my other post on that subject). Unfortunately I'm not really getting much support for the problems I've listed so far (from other users or @bpwwer), and I've read somewhere else that Bob doesn't have any Sonos to try/fix stuff at home. Now maybe the lack of responses to my posts is because it's summertime and people are on vacation so I'm still hopeful, but I'm working on this now and have limited time to figure out if I want to keep working it or do something else. Here's another thing I just posted that I can't get working:
-
According to the info at the following link, I need to "Join" secondary speakers to the first one to make a 'group' under that first one. https://github.com/jishi/node-sonos-http-api#grouping I tried to do this with the following program: Announcement Test - [ID 0446][Parent 0445] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Wait 13 seconds Set 'ST-Sonos / Dining Room' Join Kitchen Wait 1 second Set 'ST-Sonos / TV Room' Join Kitchen Set 'ST-Sonos / Kitchen' Group Volume 20% Wait 1 second Set 'ST-Sonos / Kitchen' Say Test Phrase 1 Else - No Actions - (To add one, press 'Action') And I end up with this group in the app: Then the 'say' command only comes out the Kitchen speakers, not the group I made above, which is not surprising but not what I asked for. My 'Portable' speaker has never been grouped with the "Kitchen" and "TV Room" so all I can deduce at this point is that the NS did that, and that it's a bug. I ran the above program twice with same result. I also tried to group the latter two (Kitchen and TV Room) with a different speaker after ungrouping everything using the app and ended with the same thing. Why the "Portable" speaker becomes the parent doesn't make any sense. Anyone have any suggestions as to what I did wrong or might be happening?
-
Thanks, @landolfi, changed POST to GET and it worked. @lilyoyo1, as for limitations see: Problem 1 in above post was solved with restarts but problem 2 remains (limit of 10 phrases). Although this isn't a problem yet - I just started with this - I foresee it becoming a problem if I decide to keep going with this NS. Plus: - wanted to change language to French for some phrases and can't see how to do that with NS. Hoping Network Resources will help - My TV Room (a playbar with subwoofer and rear speakers) isn't able to "say" anything for some reason. I do need to try a few more things before posting on that, including trying it using Network Resource. - support seems to be very limited at best
-
Has anyone used Network Resources to call the underlying Sonos API that this NS uses? (https://github.com/jishi/node-sonos-http-api) My initial tests are not working but I'm far from a network resource expert so very likely have made some errors in the way I set it up. I'm hoping using Network Resources might allow me to get past some of the limitations I'm running into with this NS. edit: the URL works fine from browser:
-
Am not getting any of my Sonos speakers to "say all' a phrase. The phrase does work as a 'say' on a single speaker. So this works: Set 'ST-Sonos / Dining Room' Say Test Phrase 1 And this doesn't: Set 'ST-Sonos' Say All Test Phrase 1
-
Yes, for the first issue, "both" restarts was the correct answer PLUS some passage of time. It's not instantaneous. Looks like the NS was only built to support 10 phrases according to https://github.com/simplextech/pg3_docs/tree/main/ST-Sonos, so strange that there are 50 slots to select from in ISY. I (and others, it seems) don't have that many use cases yet but maybe adding support for more than 10 phrases (which does appear possible in the PG3 UI) could be on a request list if any such thing exists. In the meantime, it would be a good UX idea to remove any entries in AC or buttons in PG3 if that are not usable. Would save people some time. Thanks for considering these things.
-
I've set the volume to multiple values between 10 and 70 before calling the 'say' action and the message is always at the same volume. Fortunately not too loud for my current use case but also not quite loud enough in some situations. Aside from being able to adjust the volume for the particular speaker/room, I'd like to be able to set it according to the time of day, e.g. not as loud at night / early morning. So it's an important thing that I'd like to be able to change. I'll also likely eventually have a use case that will need lower voice volume, e.g. my bedside speaker. Below is my program but it doesn't matter what % value I use - the say command is at the same volume all the time. (I don't know if I need to do this but I add a short wait after command to adjust the volume.) Workshop Door Open Announcement - [ID 0444][Parent 0445] If 'Lights / Basement / Workshop / Workshop Lights' Status is Off And 'Lights / Basement / Workshop / Workshop Door Open Sensor' Status is On Then Wait 20 seconds Set 'ST-Sonos / Dining Room' Player Volume 50% Wait 1 second Set 'ST-Sonos / Kitchen' Player Volume 50% Wait 1 second Set 'ST-Sonos / Kitchen' Say Workshop door is open. Please close the door. Wait 10 seconds Set 'ST-Sonos / Dining Room' Say Workshop door is open. Please close the door. Else - No Actions - (To add one, press 'Action') I can see in the device node and the Sonos (S1) app that the volume is changed by the program. It's just the say command appears to override whatever the speaker is set to, then return it to that value. The latter is actually ideal functionality but I do need to be able to adjust the volume of the voice. I see in the underlying API functionality that the NS uses (https://github.com/jishi/node-sonos-http-api) that the command for TTS service has a switch to set volume: /[Room name]/say/[phrase][/[language_code]][/[announce volume]] Does the volume need to be sent in the action and it's not being done today? How do people change the volume for the "say' command?
-
ok, thanks. I changed it to '-' and all is good now. What about the usefulness (or not) of the "Discover" button? I'll assume it does nothing unless I hear otherwise.
-
Update: Looks like either a NS restart, or an AC restart, or both, and/or the passage of time pushed some of the the phrases out to IoX. I now see phrase 0 and 1 in program action. Not yet phrases 2 and above but maybe some more restarts and/or the passage of time will solve that? So it may only leave only the issue of adding phrases 10-49 and having them get saved/displayed (and hopefully passed along to ISY). I'm not in need of them in the short term as I experiment with use of this feature but it's certainly possible I'll want more than 9 in the not too distant future if it works as well as I'm imagining/hoping it will.
-
So one of my nodes have no info. Tried pressing "Discover" a couple of times and waiting but nothing happens. What does that button do? I then deleted it, confirmed it was gone, tried "Discover" again - nothing - then restarted NS. While the node was re-added, it again had nothing below it (and it doesn't show up in AC). I'll PM you the log (set to "Debug") with the entries from the restart on.
-
I customized some phrases for the 'Say' feature but phrases 0-9 show up blank in the program action. It does work with the phrase if I run the program but it's going to hard to debug later when I have a bunch of these. Also, while it looks like I could have up to 49 phrases, only 9 can be configured. I tried adding a 10th but it does not stay. Goes back to only 9 on PG3 UI page and selecting 10 in a program after adding text did not work. (I thought maybe it saved it and simply just didn't display it but no, it's not saved either.) Edit: running ST-Sonos 1.0.10 and PG3x 3.2.2 on Polisy with IoX 5.6.4
-
I have to ask, why hasn't that Node Server menu been deleted if if doesn't do anything anymore (except cause people who don't know better to waste a lot of their time). Are there still old node servers around that maybe need to be retired? So I deleted NS in both PG3x and AC, as indicated and confirmed they were gone. Installed NS again but in different slot to avoid any remnants, should there be some. This time I pressed "Discover", which I didn't do last time. Last time I only started the NS, which was stopped. If this was important may I suggest it be added to the Configuration Help section. Lots more stuff got installed this time and nodes were added to AC, although I did have to restart AC to see them properly. All looks good now. Thanks.
-
Support thread for: PG3x v3.2.2 (August 18th, 2023)
johnnyt replied to bmercier's topic in Polyglot v3 (PG3x)
I migrated to PG3x early yesterday, which got me to 3.2.1, then I upgraded to 3.2.2. While I encountered snags along the way, everything appeared normal and working fine when I finished in the afternoon. I noticed this morning, though, that my PG3 logs had no entries after about 7:30 PM last night (14+ hours ago). As a troubleshooting step I rebooted because I can't simply restart PG3 anymore (why is that? - it would have much less impact to just restart PG3) The reboot fixed the issue, but I'm missing 14 hours of log data, some of which I could have used as I troubleshoot a problem I'm having with the installation of a new NS. Maybe it's a glitch left over from the migration that won't happen again but wanted to mention it in case it's not. I will check periodically over the next few days to see if this happens again. -
Hi @bpwwer, am hoping you can help. Tried again 12 hours later but am not seeing any devices. Began by restarting AC to see if nodes appeared and it was just an AC GUI issue. I should see devices starting with address "n002_" where the arrows are but there's nothing. So I tried adding my "Kitchen" node following these steps: 1) Node Servers -> ST-Sonos -> Add Node -> Sonos Player using the data from the Node info in PG3 UI shown below Got: Tried doing "Discover" on PG3 node server page. No joy. Tried Node Server -> Configure... ST-Sonos (Network) using appropriate userid, pw, and IP address (changed my ISY MAC address for the screenshot only) Also tried with the following data: As a last step I restarted AC in case of AC GUI issue - but still nothing Have attached the log at debug level that I just downloaded this morning. Can't think of much more to try or provide but if there's anything, please let me know. ST-Sonos_8-19-2023_91133-AM.zip
-
I've installed the NS but don't see any devices in ISY. I tried going to NodeServer -> ST-Sonos -> Add All Nodes, restarted AC in case it's an AC GUI issue, but not seeing anything. I can see the nodes in NS "Nodes" in PG3x. What am I missing to be able to use this NS? edit: running PG3x 3.2.2, IoX 5.6.4, St-Sonos 1.0.10
-
Thanks. Good to know. Sorry if I missed it in the documentation or release notes. I tried navigating to the folder but after 'ns' folder, I get permission denied. My concern is that I may need to go back a day or more. It hasn't been a day since I migrated but, based on past experience, the log entries are from midnight the day you're asking for them, not before. Assuming this is the case for PG3x too, please consider allowing access to the needed subfolders. I find it so much easier to use WinSCP to navigate the file system and copy files to my Windows machine for troubleshooting and/or reporting problems, but right now when I try to navigate to one of the Node Server subdirectory, I get WinSCP doesn't do 'sudo' (unless I just don't know how to set it up to do that with each double click.) While I can find the logs using putty/CLI by doing "sudo ls -l /var/polyglot/pg3/ns/<longrandomnodeserverID/logs" plus root password (multiple times at first to find the subdirectory), then use same long path to 'cp' it somewhere I can access, it should be much easier to get at these log files, IMO. Especially for people who don't eat linux for breakfast. Just a suggestion. Thanks for considering it.
-
None of my Node Servers are displaying logs after migration to PG3x. I changed log level to Debug for all of them and there should be stuff there by now. There are no problems seeing PG3 log entries. Am at 3.2.2. If someone can point me to where the NS log files are, using SSH I can go look there to see if there's anything there. Edit: for the record, yes, I did do "Reinstall all Node Servers" after migration
-
It turned out to be a browser cache issue. First time I've ever had that as an issue. Maybe it's a thing with PG3x so I'll definitely look for that as a first step from now. Hopefully this helps someone else.
-
Why are my all my node servers connected to ISY? Is there a rogue instance of PG3 still running that I can't access anymore? How do I fix this? I did try a reboot but that didn't help.
-
Followed the instructions at: https://wiki.universal-devices.com/index.php?title=Polisy:User_Guide#Upgrading_to_PG3x Upgrading to PG3x Enable PG3x: https://polisy.local:8443/rest/pg3x.enable Reboot and wait for a beep + 1. Migrating node servers from PG3 to PG3x might take up to 2 minutes per node server. So, please be patient Once all node servers show connected, reboot again Been 30 minutes since last entry in udx log and it appears to have gone through all 9 of my NS but PG3x is not even running. How long is this supposed to take? udx log entries from shutdown on attached (now 35 mins since last entry) PG3xMigrationLogEntries.txt
-
I have 3 Airthings NS instances running (using different hubs/API tokens). At 19:28:59 Eastern time, one of the three reported this error: 2023-08-17 19:28:59,098 Thread-1076 udi_interface.interface ERROR interface:send: MQTT Publish Error: [SSL: BAD_LENGTH] bad length (_ssl.c:2488) Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.9/site-packages/udi_interface/interface.py", line 632, in send self._mqttc.publish(topic, json.dumps(message), retain=False) File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1257, in publish rc = self._send_publish( File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2693, in _send_publish return self._packet_queue(PUBLISH, packet, mid, qos, info) File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3016, in _packet_queue return self.loop_write() File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1577, in loop_write rc = self._packet_write() File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2464, in _packet_write write_length = self._sock_send( File "/var/polyglot/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 649, in _sock_send return self._sock.send(buf) File "/usr/local/lib/python3.9/ssl.py", line 1174, in send return self._sslobj.write(data) ssl.SSLError: [SSL: BAD_LENGTH] bad length (_ssl.c:2488) 2023-08-17 19:28:59,099 MQTT udi_interface.interface INFO interface:_disconnect: MQTT Unexpected disconnection. Trying to reconnect in 10 seconds. rc: 7 The two other instances did not report this or any other any issues around that time. Am on PG3 3.1.21 and IoX 5.6.4 on Polisy.
-
I noticed some unhandled errors in log for this NS today. Note sure what's failing because I do see data in IoX. Question I have when I see these errors: is the data I'm seeing correct? I've turned log level to Debug so If more detail is needed, let me know. Edit: running NS version 1.0.12 on PG3 ver. 3.1.21, and IoP 5.6.2 2023-07-26 15:22:45 warn: POLY: Received stop message 2023-07-26 15:32:03 info: NS: Starting Node Server 2023-07-26 15:32:03 info: POLY: Interface starting 2023-07-26 15:32:03 info: POLY: Getting config from environment 2023-07-26 15:32:04 info: POLY: MQTT client connected 2023-07-26 15:32:04 info: NS: MQTT Connection started 2023-07-26 15:32:05 error: POLY: Config has logLevel: WARNING 2023-07-26 15:32:05 warn: POLY: Loglevel: warn 2023-07-26 15:34:42 error: POLY: getInv() Error: http://192.168.100.249:8080/rest/programs?subfolders=true 2023-07-26 15:34:56 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'toString') at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:312:19) at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59) at Controller.processPrograms (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:188:18) at Controller.onDiscover (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:82:12) 2023-07-26 15:34:58 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'program') at /var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:192:35 at Parser.<anonymous> (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:304:18) at Parser.emit (node:events:525:35) at SAXParser.onclosetag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:262:26) at emit (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:624:35) at emitNode (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:629:5) at closeTag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:889:7) at SAXParser.write (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:1436:13) at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:323:31) at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59) 2023-07-26 15:52:03 error: POLY: getInv() Error: http://192.168.100.249:8080/rest/programs?subfolders=true 2023-07-26 15:52:16 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'toString') at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:312:19) at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59) at Controller.processPrograms (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:188:18) at Controller.onDiscover (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:82:12) 2023-07-26 15:52:18 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'program') at /var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:192:35 at Parser.<anonymous> (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:304:18) at Parser.emit (node:events:525:35) at SAXParser.onclosetag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:262:26) at emit (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:624:35) at emitNode (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:629:5) at closeTag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:889:7) at SAXParser.write (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:1436:13) at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:323:31) at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59) 2023-07-26 17:50:56 warn: POLY: Received stop message 2023-07-26 19:37:44 info: NS: Starting Node Server 2023-07-26 19:37:44 info: POLY: Interface starting 2023-07-26 19:37:44 info: POLY: Getting config from environment 2023-07-26 19:37:44 info: POLY: MQTT client connected 2023-07-26 19:37:44 info: NS: MQTT Connection started 2023-07-26 19:37:44 error: POLY: Config has logLevel: WARNING 2023-07-26 19:37:44 warn: POLY: Loglevel: warn 2023-07-26 21:01:29 info: POLY: Loglevel: info
-
Thanks for chiming in. Can I use this NS to play a short message I recorded? Some of the features I noticed were: say sayall saypreset Do you use any of these? What do they do? By the way, @bpwwer, may I suggest the list of features you provided that I linked to above be added to github readme page so it's there when one clicks "More Info" from Nodeserver store.