I just added a CT50 Radio Thermostat to the collection. I set it up per Radio Thermostat to my home wifi and I am able to access it via their app. I reserved an address for it in my router and put that address in the settings on the Pi Gateway page but it never shows up in my Gateway. Any suggestions?
Did you manually add a new thermostat node?
i added it in the settings page on the Pi Gateway page. I double checked that it was in the settings.json5 file and it was there. am i missing somewhere else?
Yes, to add a new empty node, go to the terminal screen and type a new node ID and NEW in the message box then click SEND
After you add the NEW node you will have to add a new Event that's called "Thermostat status poll" It polls approximately every 30 seconds.
does it have to be any specific node number or just one that isnt in use?
Any number that's not used.. I used 99
i used 6 which isnt in use but it didnt show up. is there somewhere else i have to put the 6 to tie it to the thermostat?
Did you see the new node show up in the Dashboard?
no
What Gateway version are you using?
the latest one felix put out. since i sent the message to add node 6 NEW, the only thing that shows up in my gateway is my sump pump. none of the three weathershields show up
The thermostat doesn't show up either. The sump pump shows up on the gateway but the Count shows 0. The sump pump reading does update. Any ideas?
First you need to add the node as sparky mentioned. This will be a "special" node which you define as thermostat (wifi). Set the IP address in the node settings. As long as it is active on the network and responds to queries, the node should update by the polling mechanism of this special node type.
By define it as thermostat, you mean selecting it when it shows up on the gateway? I added a new node by sending a message in the terminal 6 and NEW. Since then the other nodes don't show up In the gateway. Any ideas on a fix ? My Weathershield is still sending through the same RPi to WU.
I did a fresh install from pibakery/setup script. The thermostat still doesn't show up. The nodes other than my sump pump don't show up on my iPhone or PC. Seems kinda strange. in the log terminal, it shows node 6 popping up as new but it never shows on the main gateway page
Do you have a backup image of the previous Gateway version that you could load? I also have the newest, 8.10, installed and I just tried to add a special node with no luck. Although I can see it being created in the terminal window it does not show up in the Dashboard.
I'm not really surprised though because I've been having weird things happening ever since I installed the new version. I've posted some of the issues here but it appears its because of something I did when installing from the responses I got. I'm hoping I don't have all the issues when the new version comes out.. ;D
I installed my thermostat a few versions back and creating the special node as mentioned worked flawlessly. So I'm thinking if you had a backup image you could load, then add the thermostat, then re-install the new gateway version you would have better luck. Just a thought.
No, I don't have a backup of the previous version unfortunately. What's the easiest way to back it up? I've tried to just copy the SD to a folder on my PC but when I go to make use of the backup, it doesn't work. If someone could tell me how to clear the new node out of my gateway the rest of the stuff would probably work. I could be content until the issues have been rectified
I use Win32 Disk Imager although there are a lot of other imaging programs.
https://sourceforge.net/projects/win32diskimager/
That's kinda what I was thinking. Maybe Felix can tell me how to clear the new node that isn't showing up from the gateway. Maybe that'll clear up my gateway so the other nodes will show up
That would be great if he did.. I feel like I messed you up, sorry for that :(
No problem. More than likely I did something wrong 😊
Thanks :)
I ended up getting another microSD and setting it up so everything works but the thermostat. Now I've got one setup that's solid and the other I can play with to try to get the thermostat working 😊
If my PC will quit acting up I'll save an image of the good one
Quote from: Kilo95 on December 30, 2017, 08:02:34 PM
I ended up getting another microSD and setting it up so everything works but the thermostat. Now I've got one setup that's solid and the other I can play with to try to get the thermostat working 😊
Glad you got the weathershields back up and running
Quote from: Kilo95 on December 30, 2017, 08:02:34 PM
If my PC will quit acting up I'll save an image of the good one
Great idea!
I had same issue. Here are the fix.
1. Stop the gateway by "sudo systemctl stop gateway"
2. Open gateway.js file by any editor
3. Go to line 395 (v8.10.0) or the line like this,
var entry = { _id:node.nodeId, updated:Date.now(), label:node.label || 'NEW NODE', metrics:{} };
4. Change it to,
var entry = { _id:node.nodeId, updated:Date.now(), label:node.label || 'NEW NODE', metrics:{} ,type:'',events:{}, descr:'' };
5. restart the gateway by "sudo systemctl restart gateway"
Then follow the new node instruction above the NEW node will show on the dashboard.
I just committed some fixes here (https://github.com/LowPowerLab/RaspberryPi-Gateway/commit/0931d5b5bd3f688fc615c880724c8497dfb36f8a) and here (https://github.com/LowPowerLab/RaspberryPi-Gateway/commit/d3cdd0f229dadb6c97e9aab4510cd232b65d3c13) in the main repo, these should make the thermostat node show up.
whats the easiest way to update??
Quote from: Kilo95 on January 30, 2018, 09:11:07 AM
whats the easiest way to update?
Replace the updated files from the last 2 commits linked above (make backups of the old ones just in case).
all is well. it works. i went and redownloaded the index.html, metrics.js, and gateway.js files to their appropriate locations and restarted. i must have had something corrupt the last time or i missed the index.html the first time. either way, it works.
since i upgraded my gateway to the latest a couple months ago, i get prompted every time on my iphone that "THis Connection Is Not Private" and the certificate isn't trusted. is there a way i can make it trust this certificate so i can save 2-3 clicks everytime i go to my gateway?
In older browser versions you could add an exception but these days it seems you can't. Or maybe I don't know, last time I tried to find such a setting I could not find it.
The browser forces that warning since it's an "untrusted certificate". Basically you self sign it, not a trusted certificate authority (CA).
And chrome doesn't know you as a CA.
You could create a certificate with a CA, but you will need to pay for it. Then you're tied to your IP, if you have a dynamic IP, then this won't work.
ISPs issue new IPs based on certain conditions. Maybe you could buy a static IP from your ISP, but then ... just for this? See how it gets complicated... i'd rather do the extra clicks...
................
Maybe there's a way to create a mobile app that supresses this warning.
Anyone know better ways to use self signed certs?
i gotcha. if someone else has another idea, i'm game
from a little quick research, it looks like you might be able to use a browser, download your certificate and email it to yourself. open on iphone, touch and hold and be able to install on iphone. i'll have to try tomorrow on my personal computer
Ok, if you find a solution please post here.
In the interest of this topic, can we mark it [solved]?
will do. yes! thanks ! [solved]