CT50 Radio Thermostat not in gateway [solved]

Started by Kilo95, December 28, 2017, 08:46:05 PM

Kilo95

#15
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

sparky

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.

Kilo95

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

sparky

I use Win32 Disk Imager although there are a lot of other imaging programs.

https://sourceforge.net/projects/win32diskimager/


Kilo95

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

sparky

That would be great if he did.. I feel like I messed you up, sorry for that  :(

Kilo95

No problem. More than likely I did something wrong 😊


Kilo95

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

sparky

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!

ericlq

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.

Felix

#26
I just committed some fixes here and here in the main repo, these should make the thermostat node show up.

Kilo95

#27
whats the easiest way to update??

Felix

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).

Kilo95

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?