jkosharek Posted April 19, 2023 Share Posted April 19, 2023 (edited) Part of my sleep timer program turns on Night Sound and Speech Enhancement via a node https://github.com/jishi/node-sonos-http-api/blob/master/README.md on IoX as a http get network resource. @simplextechAny thoughts on adding Speech Enhancement and Sleep control in ST-Sonos? Edited April 19, 2023 by jkosharek Link to comment
lilyoyo1 Posted April 19, 2023 Share Posted April 19, 2023 1 hour ago, jkosharek said: Part of my sleep timer program turns on Night Sound and Speech Enhancement via a node https://github.com/jishi/node-sonos-http-api/blob/master/README.md on IoX as a http get network resource. @simplextechAny thoughts on adding Speech Enhancement and Sleep control in ST-Sonos? He's no longer maintaining this nodeserver. You'll want to contact Bob @bpwwer Link to comment
bpwwer Posted April 19, 2023 Share Posted April 19, 2023 I'm trying an experiment with this. I added support for both in version 1.0.9. I have no idea if this will work or not since I don't have any Sonos devices. So instead of replacing the existing 1.0.8 version, I added 1.0.9 as a second install option. I think you can simply re-install 1.0.9 over your existing 1.0.8 without having to get a new license, but I'm not sure. If it wants you to purchase it again, DON'T. I'll move it to the beta store. Since this does add new controls, you'll have to restart the admin console after re-installing and starting it to see those new controls. Link to comment
jkosharek Posted April 19, 2023 Author Share Posted April 19, 2023 5 hours ago, bpwwer said: I'm trying an experiment with this. I added support for both in version 1.0.9. I have no idea if this will work or not since I don't have any Sonos devices. So instead of replacing the existing 1.0.8 version, I added 1.0.9 as a second install option. I think you can simply re-install 1.0.9 over your existing 1.0.8 without having to get a new license, but I'm not sure. If it wants you to purchase it again, DON'T. I'll move it to the beta store. Since this does add new controls, you'll have to restart the admin console after re-installing and starting it to see those new controls. I hadn't bought this one yet so I purchased it. AWESOME! AWESOME! AWESOME! Night Sound and Speech Enhancement work perfectly. Thank you! Link to comment
bpwwer Posted April 19, 2023 Share Posted April 19, 2023 Great! Thanks for letting me know. It wasn't hard to add them, but you never know when you can't test. Link to comment
jkosharek Posted April 20, 2023 Author Share Posted April 20, 2023 One thing I am stuck on, I create an alert when a node server is down or disconnected. This node server seems to have a parent node with some options and the 'Status' I normally look at but the status and other functions in the parent node are not available in a program in the If section. Is this something that can be enabled? Link to comment
bpwwer Posted April 20, 2023 Share Posted April 20, 2023 The status not showing up in programs is a bug. I can fix that. However, I don't think it ever changes as it looks to be hard coded to "True" in the node server. You can't use commands in the "if" part of a condition as these are things the IoX sends to the node server. They should be usable in the else/then portion to send the command on some trigger. Link to comment
MrBill Posted April 20, 2023 Share Posted April 20, 2023 17 hours ago, jkosharek said: One thing I am stuck on, I create an alert when a node server is down or disconnected. This node server seems to have a parent node with some options and the 'Status' I normally look at but the status and other functions in the parent node are not available in a program in the If section. Is this something that can be enabled? Some but not all node servers generate a heartbeat... i use that to determine when it's working, Such as: hb.controller - [ID 0028][Parent 016D] If 'Node Servers / Notification Controller' is switched On Or 'Node Servers / Notification Controller' is switched Off Then Wait 11 minutes Repeat Every 30 minutes Resource 'ISYnotification.NotificationNS.Missed Heartbeat' Else - No Actions - (To add one, press 'Action') I need to switch that program to a version that also notifies on restored heartbeat, but I've never gotten around to it. Check the log for DON and DOFF of the Controller node or ask the developer if they included a heartbeat. I'm pretty sure all of @Jimbo.Automates node server include a heartbeat. Link to comment
glarsen Posted April 20, 2023 Share Posted April 20, 2023 On 4/19/2023 at 11:10 AM, bpwwer said: I'm trying an experiment with this. I added support for both in version 1.0.9. I have no idea if this will work or not since I don't have any Sonos devices. So instead of replacing the existing 1.0.8 version, I added 1.0.9 as a second install option. I think you can simply re-install 1.0.9 over your existing 1.0.8 without having to get a new license, but I'm not sure. If it wants you to purchase it again, DON'T. I'll move it to the beta store. Since this does add new controls, you'll have to restart the admin console after re-installing and starting it to see those new controls. I also reinstalled using 1.0.9. Everything thing works as expected. Link to comment
jkosharek Posted April 21, 2023 Author Share Posted April 21, 2023 On 4/20/2023 at 1:40 PM, MrBill said: Some but not all node servers generate a heartbeat... i use that to determine when it's working, Such as: hb.controller - [ID 0028][Parent 016D] If 'Node Servers / Notification Controller' is switched On Or 'Node Servers / Notification Controller' is switched Off Then Wait 11 minutes Repeat Every 30 minutes Resource 'ISYnotification.NotificationNS.Missed Heartbeat' Else - No Actions - (To add one, press 'Action') I need to switch that program to a version that also notifies on restored heartbeat, but I've never gotten around to it. Check the log for DON and DOFF of the Controller node or ask the developer if they included a heartbeat. I'm pretty sure all of @Jimbo.Automates node server include a heartbeat. The parent node exists and has a status but it doesn't seem functional. @Jimbo.Automates are you able to have a look at the parent node and the ability to look at the status from a program IF? ST-Inventory seems to be similar in that the status isn't accurate, but it is available in the program IF section. Link to comment
bpwwer Posted April 21, 2023 Share Posted April 21, 2023 The status not showing up in programs is a bug. I can fix that. @Jimbo.Automates has nothing to do with this node server. It was written by @simplextech but he's no longer maintaining it, I am. Same for ST-Inventory. As I mentioned, the ST is set to true when the node server starts but there's nothing to ever set it false. Fixing this is a fair amount of work and right now it's not really a priority for me. Link to comment
Recommended Posts