pjjameso Posted August 9, 2023 Share Posted August 9, 2023 Trying to use a variable in the subject line without much success. This is what I entered but just returns the text vs the value. Thanks in advance. Link to comment
MrBill Posted August 9, 2023 Share Posted August 9, 2023 Does it work if you try the same variable in the body instead? (this will suggest if there's an issue with where it's used and opposed to not working at all.) 1 Link to comment
pjjameso Posted August 9, 2023 Author Share Posted August 9, 2023 Doesn’t work in the body either Link to comment
DennisC Posted August 10, 2023 Share Posted August 10, 2023 (edited) In your subject line, try using .raw after CLIHUM. Also, be sure there are no spaces in the node server string, from $ to the last }. As an example: Hum ${sys.node.n001_81668.CLIHUM.raw}% For troubleshooting, I would also suggest, just using either the subject or the body for the variable, not both. Edited August 10, 2023 by DennisC Added info Link to comment
MrBill Posted August 10, 2023 Share Posted August 10, 2023 1 hour ago, DennisC said: For troubleshooting, I would also suggest, just using either the subject or the body for the variable, not both. I agree, and I would suggest body... i can't remember why I think this, but it seems like there is/was/might be a long standing bug around displaying variables in the subject line. Once it's working them move to putting it where you want it. Link to comment
MrBill Posted August 10, 2023 Share Posted August 10, 2023 also, what node server is it specifically, in slot 2? Link to comment
pjjameso Posted August 10, 2023 Author Share Posted August 10, 2023 No go on the previous suggestion. Slot 2 is the AmbientWeather nodeserver. Guess I will have to wait for @Jimbo.Automates or @bpwwer for some thoughts. Link to comment
Jimbo.Automates Posted August 10, 2023 Share Posted August 10, 2023 What is your IoX, PG3, and notification node server versions?Sent from my Pixel 6 Pro using Tapatalk Link to comment
pjjameso Posted August 10, 2023 Author Share Posted August 10, 2023 Polisy 5.6.3, PGx 3.1.36, Notification 3.6.9 Link to comment
Jimbo.Automates Posted August 10, 2023 Share Posted August 10, 2023 That's very odd. Can you post a screenshot of the notification you receive? Link to comment
Jimbo.Automates Posted August 11, 2023 Share Posted August 11, 2023 The first attachment didn't come through? Link to comment
Jimbo.Automates Posted August 11, 2023 Share Posted August 11, 2023 That's strange, the n002_e868e786c58b_2 looks to be a valid node, so not sure why it's not showing up. Can you delete it and type it in manually instead of being copied from the PG3 UI? @Michel Kohanim @bmercier or @Javi any other ideas? 1 Link to comment
pjjameso Posted August 12, 2023 Author Share Posted August 12, 2023 Unfortunately, same result when typed in manually. Link to comment
DennisC Posted August 12, 2023 Share Posted August 12, 2023 Is it possible the node address is listed incorrectly on that screen? Try opening a browser and entering (replace the "x's with your local IP address): https://xxx.xxx.x.xxx:8443/rest/nodes/ Click through the warnings and enter your login information when requested. Then look for the node address. 1 Link to comment
pjjameso Posted August 13, 2023 Author Share Posted August 13, 2023 As far as I can tell the ambient weather nodes do not show up with the above https Link to comment
DennisC Posted August 13, 2023 Share Posted August 13, 2023 2 minutes ago, pjjameso said: As far as I can tell the ambient weather nodes do not show up with the above https I would wait for @Jimbo.Automatesto confirm, but I would suggest reinstalling the node server in the same slot. It sounds like to me the node server didn't install correctly. Link to comment
Jimbo.Automates Posted August 13, 2023 Share Posted August 13, 2023 57 minutes ago, pjjameso said: As far as I can tell the ambient weather nodes do not show up with the above https Can you see the nodes in the Admin Console? Link to comment
Jimbo.Automates Posted August 13, 2023 Share Posted August 13, 2023 But if they don't show up in the rest nodes then something weird is going on. Try reinstall the NS in the same slot? Sent from my Pixel 6 Pro using Tapatalk Link to comment
pjjameso Posted August 14, 2023 Author Share Posted August 14, 2023 192.168.4.6_8443_rest_nodes.zip192.168.4.6_8443_rest_nodes.zipReinstalled nodes server, no change. Attached rest/nodes in case you see something I missed. Link to comment
pjjameso Posted August 14, 2023 Author Share Posted August 14, 2023 Looks like file is too big when zipped for the forum Link to comment
apostolakisl Posted August 15, 2023 Share Posted August 15, 2023 Using Open Weather to do the same thing and mine works fine. Both Subject and Body. This is PG2. Guess they started using crazy strings for the address of the node instead of words like "weather". Link to comment
tlightne Posted August 15, 2023 Share Posted August 15, 2023 I am using the Notification NS to get my Ambient Weather sensors with no problem. I am not home so can not copy my body of text but here is the end result. Inside Tempature 85.8°F Inside Humidity 51% Outside Tempature 88.3°F Outside Humidity 81% Feels Like Temp 107.95°F Wind Speed 0 mph Wind Dir 192° Wind Gust 2.2 mph windspdmph_avg10m 0 mph winddir_avg10m 247° Max Daily Gust 3.4 mph Rain Rate 0 inches/hour Rain Event 0.047 Inches Rain Daily 0 Inches Rain Weekly 0.047 Inches Rain Monthly 2.378 Inches Rain Yearly 23.307 Inches Lightening Strikes Per Hour 0 Lightning Strikes Per Day 0 Lightning Distance 19.26 Miles Solor Rad 438.94 Watts/m² UV Rays 4 UV Index Link to comment
Recommended Posts