garybixler Posted August 23, 2017 Posted August 23, 2017 Hi io_guy I presently have NodeLink supporting my Venstar thermostat. Works perfectly. I was wondering if I could suggest and additional device to be supported. There's this WiFi system that monitors the level of your propane tank. 'http://www.tankutility.com/residential-propane-tank-monitor'It's cloud based and accessible through a phone App. It does have APIs for accessing the data from their servers. It looks like you receive a token from a logon and then use that to receive a string of data from the selected tank. It would probably take me weeks or months to put together a script in Pi to accomplish this and it wouldn't rely be a node, just data that could be sent to variables in the ISY via Rest I'm guessing. Thanks for any consideration. Gary
io_guy Posted August 26, 2017 Posted August 26, 2017 http://apidocs.tankutility.com/ has been dead since you posted. I have no way of getting info to even review.
giesen Posted August 27, 2017 Posted August 27, 2017 https://web.archive.org/web/20161103091535/http://apidocs.tankutility.com/ Sent from my SM-N910W8 using Tapatalk
garybixler Posted August 28, 2017 Author Posted August 28, 2017 For some reason it now uses https. https://www.tankutility.com/
io_guy Posted September 1, 2017 Posted September 1, 2017 Looks like the site is back up, API is pretty simple. I'd need your login to get it working so that I can see actual values. If you're willing I can work on it in about a week.
garybixler Posted September 2, 2017 Author Posted September 2, 2017 Thanks io_guy I will go ahead and order the system and provide you with all the info. They do say it may take two weeks to ship however. Will let you know when I get it installed. Again Thanks Gary
garybixler Posted October 11, 2017 Author Posted October 11, 2017 Hi io_guy I finally received the propane tank hardware and finished installing it. I sent you a message with my login info. Again Thanks Gary
garybixler Posted October 13, 2017 Author Posted October 13, 2017 This will be awesome. Really appreciate this. Gary
garybixler Posted October 16, 2017 Author Posted October 16, 2017 Hi I tried to add the tank utility node but couldn't scroll down to see it. Tried max resolution but still couldn't get to the bottom of the list to see tank utility. Can scrolling be added? Thanks Gary
io_guy Posted October 16, 2017 Posted October 16, 2017 I'm guessing you mean in the ISY. You don't do that with NodeLink. It'll add the nodes to the ISY itself once you setup your Tank Utility credentials.
garybixler Posted October 16, 2017 Author Posted October 16, 2017 Yes in the ISY I can't get to the bottom of the node list to add tank utility node. This is what I get on the NodeLink log: 2017-10-16 08:33:34 - Tank Utility Web Response Error - SendFailure [tutil1] 2017-10-16 08:37:47 - Tank Utility Web Response Error - SendFailure [tutil1] I did set up my login and password in a new tutil1 device but not sure if the sendfailure is to tank utility or to the ISY. No tank node gets added to the ISY. Also I downloaded the latest nodesetup.zip into the ISY and rebooted. Attached is NodeLink device tap. Thanks Gary
io_guy Posted October 16, 2017 Posted October 16, 2017 The error is for connecting to Tank Utility. NodeLink will not add the node to the ISY until it successfully connects to Tank. What OS are you running and if not Windows what mono version (mono version is in the NodeLink log at startup)? Also, any chance you have a firewall blocking NodeLink? Venstar connects locally, Tank Utility is cloud.
garybixler Posted October 16, 2017 Author Posted October 16, 2017 I am running windows 7 prof. I have assumed that if NodeLink can get auto updates that the firewall wouldn't be an issue. But I will look into it. Mono version: 3.2.8 (Debian 3.2.8+dfsg-4+rpi1) Update: I tried to log into tankutility from the browser running on the pi NodeLink is running on and was successful.
io_guy Posted October 16, 2017 Posted October 16, 2017 So it's a Pi, not Windows 7. I need the mono version. This is likely an SSL certificate issue with the Pi.
garybixler Posted October 16, 2017 Author Posted October 16, 2017 This is what is in the NodeLink Log. Mono version: 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
garybixler Posted October 16, 2017 Author Posted October 16, 2017 You are correct about port 443. I tried telnet to google.com 80 and it worked but it won't connect using port 443 But the browser in the pi will connect and use https after logging into tankutilty.
io_guy Posted October 17, 2017 Posted October 17, 2017 Upgrade your mono version. How did you end with 3.2.8, very old. My howto for Pi brings things up to the latest (but you need to be running the latest Raspbian). Or you can try it yourself: http://www.mono-project.com/download/#download-lin-raspbian
garybixler Posted October 18, 2017 Author Posted October 18, 2017 Hi I started from scratch and created the latest version of Pi from your down loads. The tank utility connects now and the Venstar works fine. I do however get this error: 2017-10-18 13:56:22 - Tank Utility Poll Error - Conversion from string "68.90024" to type 'Integer' is not valid. [tutil1] 2017-10-18 13:57:26 - Tank Utility Poll Error - Conversion from string "68.90024" to type 'Integer' is not valid. [tutil1] so nothing is filled out in the Tank Utility node. Status ID 0013004c393330330c473730 Name MyHome Address 1000 Plunxxxxxxxxxxxxx Capacity 500 Level % Temperature Time Time ISO Thanks Gary
garybixler Posted October 19, 2017 Author Posted October 19, 2017 Hi io_guy Installed 0.8.1 and everything is now working fine. Thanks Gary
Recommended Posts
Archived
This topic is now archived and is closed to further replies.