Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

How far out is the UCM version?
 Moderated by: slychiu, mattbrain, benstinton Page:  First Page Previous Page  1  2   
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Tuesday Dec 19th, 2017 09:00 pm
   PM  Quote  Reply 
21st Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

Well, it's definitely behaving better now... the Things in the ST app aren't constantly going offline, most (but oddly not all) of them respond to commands from the ST app, and the UHAI interface now successfully lets me download the logs (prior to this latest attempt, the browser would fail when trying to DL the log, presumably because of SD corruption as previously mentioned).
One thing that's still not quite as it should be, it that most of my zones aren't registering changes... nearly all my PIR things say "No Motion" and have no history in the Recently bit... and although the majority of my flag & counter things work, there are definitely a few which are not turning on or off from the ST interface... - I'm looking at one now, my kitchen counter lights, which is a mapped to flag 121... it does not show the correct status in the ST app, (it shows OFF), when I press it, it changes to "Turning on" but stays stuck like that... I have at least a few things that are behaving the same way...



 Posted: Tuesday Dec 19th, 2017 09:05 pm
   PM  Quote  Reply 
22nd Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

I've just been monitoring the EPM device for a few minutes... it was fluctuating around between 10-15 for the most time, then I briefly saw it out of the corner of my eye spike up to 87 for a while before dropping back down again...

Normal?? - nothing exceptional is ocurring, - there's one person moving around in view of a couple of my PIR's, but that's about all...



 Posted: Wednesday Dec 20th, 2017 12:55 pm
   PM  Quote  Reply 
23rd Post
Swiss-Toni
UCM Pi Users


Joined: Thursday Sep 15th, 2011
Location: Greater London, United Kingdom
Posts: 349
Status: 
Offline

  back to top

Pgordon wrote: Well, it's definitely behaving better now... the Things in the ST app aren't constantly going offline, most (but oddly not all) of them respond to commands from the ST app, and the UHAI interface now successfully lets me download the logs (prior to this latest attempt, the browser would fail when trying to DL the log, presumably because of SD corruption as previously mentioned).
One thing that's still not quite as it should be, it that most of my zones aren't registering changes... nearly all my PIR things say "No Motion" and have no history in the Recently bit... and although the majority of my flag & counter things work, there are definitely a few which are not turning on or off from the ST interface... - I'm looking at one now, my kitchen counter lights, which is a mapped to flag 121... it does not show the correct status in the ST app, (it shows OFF), when I press it, it changes to "Turning on" but stays stuck like that... I have at least a few things that are behaving the same way

I have the same problem with ST and that is one of the main reasons I cannot stand cloud based systems as they are based so much on continuity of signals and remote euipment. the signal has to be sent from your system through the internet to their servers, their servers have to decipher the signal and then send it back through the internet your router has to pick it up and snt it to your equipment, this is why all cloud systems are not that suitable for home automation in my opinion as you now rely on external equipment that you have no control over whatsoever, and the more people that get it the more problems there will be as the bandwidth is reduced ect......

Last edited on Wednesday Dec 20th, 2017 12:57 pm by Swiss-Toni



 Posted: Wednesday Dec 20th, 2017 03:58 pm
   PM  Quote  Reply 
24th Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

I couldn't agree more...



 Posted: Wednesday Dec 20th, 2017 08:40 pm
   PM  Quote  Reply 
25th Post
matt.brain@gmail.com
Member
 

Joined: Wednesday Mar 2nd, 2016
Location:  
Posts: 9
Status: 
Offline

  back to top

Wow - it's like a ghost town most days on this forum, I turn my back to do some xmas shopping and the world goes crazy!!


PSU's - Swiss Toni - nailed it. I hadn't even considered this and was really scratching my head. In earlier times on my Pi, I had used generic USB PSU's and had all sorts of weird and wonderful behaviour. The thing is, it's a bit like witchcraft. Power ratings on PSU's are usually inaccurate (especially cheap ones) and as you get close to the fully loaded capability of the PSU, the voltage often drops, resulting in the voltage regulators on the Pi pulling more current to compensate and all of a sudden everything mis-behaves.


When requesting the logs from the Web GUI, it zips up the files, which is computationally expensive and requires a touch more juice. The slow/unresponsive and failed discoveries are also likely to be as a result of service or even Pi restarts as things start to fail due to unstable juice and the disk corruption is a no brainer. I should have put in an automatic disk check on boot and will do so for the next rev.


On ST and responsiveness; we are hamstrung somewhat by ST. The discovery processes is limited by memory and UPNP messages quickly mount up. I am thinking of creating a hybrid approach to discovery, using UPNP for Alexa, Google Home and other simpler integrations with ST and other similar platforms using a hybrid UPNP approach which points to a XML file which will help prevent stuff being missed and be more efficient.


On missing events, the ST platform rate-limits callbacks to a single 'thing' to something like 200 per minute (there or thereabouts). Messages will be dropped if that limit is exceeded. I wouldn't try and represent all the counters and flags in Comfort in ST, but rather only expose those things of real value such as zones, outputs, lights - keep the internal workings of Comfort hidden if at all possible.


For example, I have some outside lights connected to outputs and they are triggered by zones. Some counters are used to track their state and there is logic to turn them on and off based on activity and day/night etc. I have exposed the outputs, the zones and a couple of flags which control the behaviour of the logic, but I am not exposing the counters. When an event fires on comfort to turn the light on, counters get changed, devices change state etc etc. and the number of events can quickly overwhelm ST unless you limit it to purely what is necessary.


I am thinking of changing this process so that rather than each event firing an update to ST, a digest sent every second events take place, containing the events within them, this will limit the max events per minute at the cost of having some events being reported slightly slower (up-to a max of 1 second)


ST have started introducing locally processed objects and I need to spend more time looking into this - it may be possible to have all the Comfort processing for ST take place on the hub rather than in the cloud but I need to understand the limitations before I can comment further.


Anyway, on the local access and extending the filesystem - I'm going to create a new image with documented credentials and include instructions to extend the filesystem.


Paul could you send me the last few digits of your serial number - i want to take a look at the telemetry to see if i can make head or tail of what happens when the power gets flakey


Have a great xmas all.


Matt



 Posted: Wednesday Dec 20th, 2017 09:36 pm
   PM  Quote  Reply 
26th Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

Cheers Matt, very helpful as ever. :-)

Serial number is: 000000008fedacd0

FYI, since it's been on a "decent" PSU, - the last 24 hours or so, I've seen just a tiny decrease in disk free - I think I remember it was 730MB just after I started up the image the first time, and now its at 725MB - that's certainly different behaviour to the day before...

I'll try & expose the bare minumum I need... - I guess I don't truly need PIR zones in ST - my PIR responses are all within Comfort itself, which already has direct access to lights & appliances by way of CBUS integration, so I guess I have little use (at this point) for motion information in ST, as I'm not using it for anything there...I do need quite a few flags & counters though. - probably around 30 flags & 15 counters is, I think about the bare minumum I need to be able to cover the majority of my automated lights & appliances.

I'll upload another UPNP file with most of the zones removed & restart, & see if that makes any difference.

Cheers Matt, - looking forward to 1.0.1.b !! :-)

Paul G.



 Posted: Thursday Dec 21st, 2017 02:37 pm
   PM  Quote  Reply 
27th Post
matt.brain@gmail.com
Member
 

Joined: Wednesday Mar 2nd, 2016
Location:  
Posts: 9
Status: 
Offline

  back to top

Hi Paul


Looking at the telemetry data, it really wasn't a happy puppy, especially around the 8th December. After then there was a little activity around the 15th for a few minutes but radio silence from then until the 19th when I assume you restarted it with a new PSU as it seems much happier.


Hopefully, I'll start to get detailed diagnostics if you have enabled it in the web GUI.


Thanks,


Matt

Last edited on Thursday Dec 21st, 2017 02:38 pm by matt.brain@gmail.com



 Posted: Thursday Dec 21st, 2017 03:20 pm
   PM  Quote  Reply 
28th Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

Cheers Matt.
When you refer to enabling diagnostics in the GUI, what option is that? - I have both tickboxes enabled to share the UPNP and CCLX files, those are the only settable options I have on the UI...
Paul G.



 Posted: Saturday Dec 30th, 2017 07:16 pm
   PM  Quote  Reply 
29th Post
matt.brain@gmail.com
Member
 

Joined: Wednesday Mar 2nd, 2016
Location:  
Posts: 9
Status: 
Offline

  back to top

Sorry - another slow reply due to Christmas.

In the registration option, there is a checkbox to send usage data. Please register and ensure that check box is ticked.

If you re-imaged your Pi, this will need to be done again,

Thanks,

Matt



 Current time is 04:13 pmPage:  First Page Previous Page  1  2   
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems