LOGIN  |  REGISTER
Smart Living Made Brilliant!
CASTLEOS FORUM

HomeBug Reports

A forum topic for reporting bugs and other issues with CastleOS

No energy Usage Statistics for Devices Messages in this topic - RSS

Nick Bento
Nick Bento
Posts: 221


2/5/2013
Nick Bento
Nick Bento
Posts: 221
Hey Chris,
Not sure if you remember before when I mentioned I wasn't seeing any device energy usage statistics, but I gave it a while just in case i simply didn't have any data for it to show. Unfortunately it's still blank; I've attached a screenshot below to show what I am seeing. I'm at work at the moment, but if you need logs I can send them right when I get back (or I can send a screenshot of my logs screen since I have access to the webpages still)

Thanks!

--
-Nick B.


Attachments:
noenergy.jpg
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/5/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Hey Nick, yes please send me all logs. But also, since you're on Windows Server, a bug that was fixed a while ago might be related to this. Sorry I didn't think of it any mention it to you! You can try downloading the version now posted to the website. But that version doesn't have upgrade capability, you'll need to manually back up your settings file doing the following:
1) Stop the service.
2) Backup the configuration.xml file to another folder, say, the desktop or my documents folder.
3) Uninstall CastleOS.
4) Install the new version.
5) Stop the service again.
6) Copy those files you backup up back to the CastleOS folder, overwriting the ones the installer put down.
7) Start the service.
0 link
Nick Bento
Nick Bento
Posts: 221


2/6/2013
Nick Bento
Nick Bento
Posts: 221
Appears I'm still getting the same blank screen, even though data appears to be populated. I've attached the log.

--
-Nick B.


Attachments:
Log[4].sdf
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/6/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
Appears I'm still getting the same blank screen, even though data appears to be populated. I've attached the log.



Database is empty, something is blocking CastleOS from writing to SQL Server Compact. Anything in the error files or Windows event log? What security settings do you have the server set to? I'm thinking it's something in your local configuration/security settings.
0 link
Nick Bento
Nick Bento
Posts: 221


2/6/2013
Nick Bento
Nick Bento
Posts: 221
Not seeing anything weird in the event viewer. Error log is fairly barren too, just one error. I've attached it. Is it possible the DB got erased during reinstall?
Also, as far as security settings go everything should be default; I didn't change anything from the base install or any directory permissions that I am aware of.
edited by nikku on 2/6/2013
edited by nikku on 2/6/2013

--
-Nick B.


Attachments:
Errors[2].xml
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/6/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
Not seeing anything weird in the event viewer. Error log is fairly barren too, just one error. I've attached it. Is it possible the DB got erased during reinstall?
Also, as far as security settings go everything should be default; I didn't change anything from the base install or any directory permissions that I am aware of.
edited by nikku on 2/6/2013
edited by nikku on 2/6/2013



Yes it would have been erased. But then it should have immediately started recording new events as you used your switches. If you aren't seeing any errors in either place about SQL Compact, then it's something else that's going on. When did you install the new version?
0 link
Nick Bento
Nick Bento
Posts: 221


2/6/2013
Nick Bento
Nick Bento
Posts: 221
I installed it around 5PM or so, and had it running for a couple hours, turning lights on and off periodically.

--
-Nick B.
0 link
Nick Bento
Nick Bento
Posts: 221


2/8/2013
Nick Bento
Nick Bento
Posts: 221
I let it run for a day or two, still the same it seems. Are there any kind of file permissions I should verify? (I know you mentioned permissions, I don't think anything should have changed that would affect it, but can't hurt to check)

--
-Nick B.
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/8/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
I let it run for a day or two, still the same it seems. Are there any kind of file permissions I should verify? (I know you mentioned permissions, I don't think anything should have changed that would affect it, but can't hurt to check)



Actually, just for the heck of it, make sure the log.sdf file isn't read-only and the file permissions allow read/write.
0 link
Nick Bento
Nick Bento
Posts: 221


2/8/2013
Nick Bento
Nick Bento
Posts: 221
From what I see, Administrators and System have full read/write, and Users has read only. When I check the logs via the web interface I see quite a few entries in the Energy Use area, not sure if this helps?

--
-Nick B.
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/8/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
From what I see, Administrators and System have full read/write, and Users has read only. When I check the logs via the web interface I see quite a few entries in the Energy Use area, not sure if this helps?



Can you upload your log.sdf file please...
0 link
Nick Bento
Nick Bento
Posts: 221


2/8/2013
Nick Bento
Nick Bento
Posts: 221
Sure thing, attached.

--
-Nick B.


Attachments:
Log[5].sdf
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/8/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
Sure thing, attached.



All set...it was recording events properly, but the energy settings had the cost set to $0, so all the graphs were empty smile I put an estimate in, but you can check your last bill to get the total price per kWh.
0 link
Nick Bento
Nick Bento
Posts: 221


2/8/2013
Nick Bento
Nick Bento
Posts: 221
Aah, I was wondering about what those values were used for, I'll definitely have to check that out, thanks!

--
-Nick B.
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


2/8/2013
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Nick Bento wrote:
Aah, I was wondering about what those values were used for, I'll definitely have to check that out, thanks!



If you have different day and night costs (peak and off-peak), you can set the times those rates go in to effect as well.
0 link