LarryCRetired Posted October 7, 2020 Posted October 7, 2020 Hoping someone can help with this rest command. I am using v5.0.16 and would like to copy a Tag Temperature to an integer variable in the ISY. Shown below is Rest Screen but it does not work. When testing, I get a Resource Response of N/A and a message that it failed. Must be something simple that I am missing. The variable I am using has a precision of 1. The host is the IP of my ISY. The Tag Address in the Path is used in an email, (I did a copy to make sure no error in typing) so I know it is correct. Thanks in advance for your help.
garybixler Posted October 7, 2020 Posted October 7, 2020 (edited) Not sure if I understand but if you just want to copy a tag temperature to a variable you would need to do this. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $Tag_Temp = 'Polisy Nodes / Tags / Home / 0 Test' Temperature °F Else - No Actions - (To add one, press 'Action') Also if you wanted to save it so that it won't be lost on a reboot you could add this line. Then $Tag_Temp = 'Polisy Nodes / Tags / Home / 0 Test' Temperature °F $Tag_Temp Init To $Tag_Temp Else - No Actions - (To add one, press 'Action') Edited October 8, 2020 by garybixler
LarryCRetired Posted October 8, 2020 Author Posted October 8, 2020 Garybixler unfortunartely I don't have a Polisy. I have an RPI bringing in my Tag data. I will see if I can follow your structure and do it with the Tag Node server thank you
garybixler Posted October 8, 2020 Posted October 8, 2020 (edited) I see now. Running Polyglot on the RPi? Edited October 8, 2020 by garybixler
LarryCRetired Posted October 8, 2020 Author Posted October 8, 2020 (edited) Garybixler i am doing that now with a python script but I am looking to see if I could do it with the Resource Module. thanks again i should mention that I found my current approach with python is not as reliable as I would like Edited October 8, 2020 by LarryCRetired Expand answer
LarryCRetired Posted October 8, 2020 Author Posted October 8, 2020 garybixler Took me a while to understand what you were saying about two way communication. But my brain finally figured it out. I was using a old post where someone was getting data from the old climate module and storing in a variable. I received an email this morning for 20% off of a Polisy. Going to look into that. Thanks again for your time and helping me with this.
larryllix Posted October 8, 2020 Posted October 8, 2020 (edited) 57 minutes ago, LarryCRetired said: garybixler Took me a while to understand what you were saying about two way communication. But my brain finally figured it out. I was using a old post where someone was getting data from the old climate module and storing in a variable. I received an email this morning for 20% off of a Polisy. Going to look into that. Thanks again for your time and helping me with this. I use the Kumoapp server to directly inject my Tag values. It requires no extra hardware and is easy. Edited October 8, 2020 by larryllix
LarryCRetired Posted October 8, 2020 Author Posted October 8, 2020 Larryllix i probably need to look at that. Thanks for the info. I really don't want to add any hardware. I probably will never own a Tesla even though I know who he was? 1
larryllix Posted October 8, 2020 Posted October 8, 2020 (edited) 37 minutes ago, LarryCRetired said: Larryllix i probably need to look at that. Thanks for the info. I really don't want to add any hardware. I probably will never own a Tesla even though I know who he was? Yeah. I am not sure I want a car that runs on 6216 pc. 16850, size A lithium cells. One of the nastiest chemicals on the planet, so far. Edited October 8, 2020 by larryllix
Recommended Posts