Closed bdf0506 closed 4 years ago
pushed a commit which will more aggressively shovel Carrier's changes to the stat - weather included. Feel free to close this issue if you can confirm it worked, otherwise I'll check back in a bit later.
This fixes the weather issue, so that's a nice win! Thanks @nebulous .
However, it appears this broke the front end http pages. I'm not sure the front end matter all that much, but it is definitely broken. Almost looks like a CSS file didn't get loaded or something, but not sure what. Any ideas? It complains about things like app.js and those files havent been modified in this repo in many years.
derp. sure enough. thanks. I'll see if I can fix it once the kids are in bed.
for the time being, just run in production mode and this shouldn't be an issue. In fact, production mode makes sense for almost everything anyway. I need to go back and untangle the mess of npm/grunt/javascriptbs scaffolding that yeoman generated years ago - but not tonight.
Production mode will load the UI, however, it still doesn't fully work on my end, as values are not populated, and all I see is humidity, in an unpopulated manner. I've been running in development mode for the sake of getting logs. Production mode doesn't give enough logs as discussed in #101
Navigating to /api/config or /api/status give me the data I'd expect, though.
I think i am having exactly the same issue - it is passing data through to the carrier servers just fine but nothing in the UI. I just removed my null serial variables and it made no difference to the error above
@bdf0506 are you running in docker? I am wondering if both you and I made some same error in setup or approach?
@scyto yes, I am also running in Docker, on an Unraid host machine. Here's the docker run command that I am using which gets me that same issue that you are seeing where the UI displays bare data.
docker run -d --name='infinitude' --net='host' -e 'TCP_PORT_3000'='3000' -e 'PASS_REQS'='300' -v '/mnt/user/appdata/infinitude/state':'/infinitude/state':'rw' 'nebulous/infinitude'
@bdf0506 I tested nebulous/infinitude too as well as building from scratch - definitely a breaking change somewhere. Good to know it isn't something unique to one of us (though i note neither you or I are using the YAML file, but i don't see anything in there that's lacking from what you and I did.) @nebulous let us know what additional info you need from us, if any.
I know what needs to be done, just need to string together the time and tuits. I'm hoping to be able to use a separate grunt container to handle the npm dev build nightmare. Can at least push the fix for prod mode though - one sec.
The most recent commit works for me in prod mode(with increased logging enabled). You might need let it run for a couple minutes to backfill and furiously refresh to blow out caches.
All set now. Thanks @nebulous for the weather bug fix as well as fixing the unintended consequences! :)
At some point, weather support was likely unintentionally dropped. Weather Underground pulled a bad move and closed down their API. That's fine, but we should resort back to the passthrough capabilities.
It looks like we are still getting a weather forecast, however, on the thermostat itself, I do not see the weather actually being displayed. Looks like it broke starting with the following commit https://github.com/nebulous/infinitude/commit/dee2e948306410442cbe20457c8be53c0b50a5a8
I can look at the file structure on my infinitude, and I do see that I have the following files created, so weather is still being pulled, but not displayed on the unit (xxxxx is my zip code):
There's a forecast in the data, such as in weather-xxxxx-forecast+2exml.dat:
My docker logs show that weather things are happening:
While we shouldn't support Weather Underground any longer, seems like this commit reference above needs to be reversed, or potentially modified. I'll continue digging into this but let me know if you have any idea about this.