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:    1  2  Next Page Last Page  
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Dec 8th, 2017 08:18 pm
   PM  Quote  Reply 
1st Post
Pgordon
Member
 

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

  back to top

Subject says it all really... - my Rpi based setup stopped working a while ago, for either of 2 possible reasons - DHCP address on the Pi, which changed and the SD card reports 0 free space in the UI.
I've spent a little time this afternoon discovering both of the above, and I think I pretty much resolved to strip everything away & start again, this time with an even bigger SD card, load the image again, re-do the UPNP config file, etc. etc.
But that's quite a few hours work, and if the UCM version is just a month or two away, I might as well wait...
Without being held to any promises or anything, are you able to offer even ball-park estimate of the ETA?
Cheers
Paul G.



 Posted: Saturday Dec 9th, 2017 06:27 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Sorry that it is certainly more than a month away. We are doing the PCB design but after that it needs testing hardware and software. I suggest you try other methods for the time being



 Posted: Tuesday Dec 12th, 2017 01:39 pm
   PM  Quote  Reply 
3rd Post
matt.brain@gmail.com
Member
 

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

  back to top

Hi Paul


I'm really interested in diagnosing what has happened to your SD card from a disk usage point of view so I can fix the issue - currently I have no visibility on what is going on and haven't been able to reproduce it.


Would you be willing to send me the SD card, i'll happily pay postage both ways, and i'll send it back with the existing configuration and any updates to overcome the issue.


Thanks,


Matt



 Posted: Tuesday Dec 12th, 2017 01:50 pm
   PM  Quote  Reply 
4th Post
Pgordon
Member
 

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

  back to top

Sure, no problem.. PM me the address you want it sent to...
NB, I live in Norway, and it's 2 weeks before Christmas, so it may take a tad longer than normal for post to reach you...
Don't worry about the postage... consider it in lieu of a coffee or beer donation from the UI...
:-)



 Posted: Tuesday Dec 12th, 2017 03:09 pm
   PM  Quote  Reply 
5th Post
matt.brain@gmail.com
Member
 

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

  back to top

Super, thank you. I have sent a PM.



 Posted: Friday Dec 15th, 2017 10:34 pm
   PM  Quote  Reply 
6th Post
Pgordon
Member
 

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

  back to top

a quick FYI... I went & bought a 16GB card, I've installed the latest image, started it up, logged in, set a static IP address (my ISP's router's DHCP service is shite! - it only lets me set 16 reservations...), connected to the uhai interface & uploaded my config & cclx files, and started the service... all is looking well, but I'm curious as to the numbers given in the service status box...
disk free is showing 728M and is seemingly pretty static, memory free is fluctuating around the 780M-790M range

Does this seem right to you? - I have absolutely no idea how the image is partitioned... - I'm guessing now that I *think* I've seen reference to the image fitting onto *some* 4GB cards, so if it's a 4GB partition, then I suppose my plan to use a 16GB card to give more >useable< space was pointless.... - I guess the other 12GB is just sitting there unformatted and unloved...?

If that's right, I presume there's a way I can extend the current partition into that unused space and make much more headroom for the service to run in? - but I know barely more than absolutely nothing about linux/raspbian etc... so this isn't something I'm comfortable just jumping in to... guess I'll head over to Google... :-)

Cheers

Paul G.



 Posted: Saturday Dec 16th, 2017 12:43 pm
   PM  Quote  Reply 
7th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Hi Paul, the exact same thing happened to me, I re formatted several times as I thought I was doing something wrong, but same result every time.alphawerks are aware I think and looking at it



 Posted: Saturday Dec 16th, 2017 02:20 pm
   PM  Quote  Reply 
8th Post
Pgordon
Member
 

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

  back to top

This morning, I've checked again, and the number are now:
Online - Version:1.0.1a Disk Free:492M Memory Free:411M Load:0.70

Both seem to have dropped quite substantially...

Paul G.



 Posted: Saturday Dec 16th, 2017 05:28 pm
   PM  Quote  Reply 
9th Post
matt.brain@gmail.com
Member
 

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

  back to top

Yes, this was by design, the partition doesn't resize automatically as the filesystem should manage itself (and tidy up the log files). I suspect something is going wrong though (my system has been running for many months without consuming much disk space). Paul has sent me his old card so will look into what is going on when I receive it.

I'll also post instructions on how to extend the FS for those who are interested.

Thanks,

Matt



 Posted: Saturday Dec 16th, 2017 06:51 pm
   PM  Quote  Reply 
10th Post
Pgordon
Member
 

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

  back to top

The stubbornnes of this software refusing to bend to my will no matter what I try is becoming very irksome!

Today I have repeated the discovery exercise a half-dozen or so times. Taking Matts earlier advice, I edited the UPNP config file to expose fewer devices, I then ran discovery and let it go for about an hour or so... it *STILL* would not discover all my devices... so I did the same again... removed even more devices from the list... yet again discovery stopped a few devices short of what I know I have exposed.. i.e. right now, I have 57 devices configured in the file & discovery has stopped at 54 - it's been stuck there for the last half-hour or so... Now I *know* that it can - and has discovered more devices - on the previous attempt earlier today it got to 67 discovered devices, which once again was a few short of what I know was configured in the file... - with the previous build before the discovery limitation was widely reported, I had successfully discovered over 100 devices... these devices have the same names they've always had...

It really rather seems to me, that what ever is configured in the UPNP file, the last few just aren't discovered, no matter how many are configured - every time I have rediced the list of exposed devices in my file, the actual discovery always stops 3-4 devices short...

I'm going to try one more time, and I'll add 3-4 non essential devices at the end - since counters are last in the file, I'll add a few unused counters to the end of the list in the config file & see what happens...

P.



 Posted: Sunday Dec 17th, 2017 02:56 pm
   PM  Quote  Reply 
11th Post
Pgordon
Member
 

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

  back to top

Nope... 54 again... I know I have 62 devices configured in the file... it consistently will not discover _all_ the devices... I don't know it it's coincidental, but following convention, my devices are all listed in numeric order, and it's always the last ones that aren't discovered... my dining room ceiling for instance is mapped to counter 111, in no discovery attempt *ever* has that actually been discovered.. is it because its pretty much at the end of the list in the file, or is it just because it's a high number? - I'm going to edit the config file so that ONLY counter 111 is exposed, & try again...



 Posted: Sunday Dec 17th, 2017 03:29 pm
   PM  Quote  Reply 
12th Post
Pgordon
Member
 

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

  back to top

when counter 111 is the only one exposed in the file, it has discovered it... I'm going to add counters back in a few at a time & see how that goes...



 Posted: Monday Dec 18th, 2017 06:36 pm
   PM  Quote  Reply 
13th Post
Pgordon
Member
 

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

  back to top

OK, I finally got all the devices I need to be discovered... but things still aren't working as well as they used to... I briefly get all the "Things" responding correctly, turning on & off promptly, and showing the correct status in the ST app... but consistently, and very quickly the interface seems to die... all the things go to "Offline" and the bridge EPM is a constant 0. Bizarrely, it seems I can actually control devices from the ST UI - and they respond... I'm sitting here wathing a light turn on/off as I control it from the ST app, however the ST app says the "Thing" is offline, and will not update its status..

Also FYI, today the figures in the uhai interface are: Online - Version:1.0.1a Disk Free:60M Memory Free:302M Load:1.18



 Posted: Tuesday Dec 19th, 2017 12:59 pm
   PM  Quote  Reply 
14th Post
Pgordon
Member
 

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

  back to top

This morning: Online - Version:1.0.1a Disk Free:0 Memory Free:85M Load:0.61

:-(

Paul G.



 Posted: Tuesday Dec 19th, 2017 01:49 pm
   PM  Quote  Reply 
15th Post
Swiss-Toni
UCM Pi Users


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

  back to top

Just out of curiosity what hardware are you using?
RPI
Windows/Mac

Sdcards can be tempremantal to sudden power loss
If possible check the power supply is sufficient depending on the RPI you are using
I had quite a few issues until I used a 2a power supply on rpi

Was using a 4gb card until the RPi was abruptly turned of and fckd the card, now using a 16gb sd card with no issues whatsoever.



 Posted: Tuesday Dec 19th, 2017 02:26 pm
   PM  Quote  Reply 
16th Post
Pgordon
Member
 

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

  back to top

RPI - latest RPi 3 model B, PSU was (until just now) some cheap chinese wall wart that I found in my drawer, but having checked it to reply to this, and noticing that it's a bit ropey, (only 600mA output) -  I've just changed it for a Griffin one rated at 2.0A output...
SD card - 3 day old Sandisk Ultra 16GB, formatted in my windows Laptop with SDFormatter then image written with Etcher portable edition.
it has been power cycled at least once with the card in, perhaps a couple more times than that...



 Posted: Tuesday Dec 19th, 2017 02:41 pm
   PM  Quote  Reply 
17th Post
Swiss-Toni
UCM Pi Users


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

  back to top

600ma is nowhere near enough to power a rpi 3 it will shut down and fck the card up you may have to reformat the card to be on the safe side I know its a pain but it may have impacted on the partition with half written code ect causing card to fill up.
I am certain that your rpi has been shutting down and rebooting of its own accord due to power outage and thats where your problem is.

Last edited on Tuesday Dec 19th, 2017 02:45 pm by Swiss-Toni



 Posted: Tuesday Dec 19th, 2017 02:51 pm
   PM  Quote  Reply 
18th Post
Pgordon
Member
 

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

  back to top

I suspect you may be right... - it pays to read the small print when pulling a PSU out of the drawer I guess...
I'l reformat & reimage now... - also I've moved the pi back into "Node 0" where it has been running for the last 9 months, instead of being out on my desk - which is why I had it on a temporary PSU in the first place...
Will report back later on results.

Would still be nice to know how to extend the partition though - seems a shame to have 12GB of the 16GB going to waste...

I also might like to try installing a GUI as well - I know this is supposed to be dedicated to running the UHAI, but the load on the Pi is miniscule according to the current stats, and while don't mind a shell, for many things - especially in an unfamiliar environment, I find a GUI easier to navigate...

Cheers

Paul G.



 Posted: Tuesday Dec 19th, 2017 04:12 pm
   PM  Quote  Reply 
19th Post
Pgordon
Member
 

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

  back to top

Yup... that's made a difference... :-)

My bad... and I went back (for now) to a 4GB card that was spare...

Oh, and I checked the PSU I had in node 0... - that was a tad underpowered too... - just 850mA - not as bad as the temp one I was just using on the desk, but still quite underrated (although I wasn't powering *any* USB Devices, only the bare Pi board itself)... According to the numbers in the tables here: https://www.raspberrypi.org/help/faqs/#powerReqs 850mA should be enough to power the bare Pi board in almost all anticipated situations - the only exception being "max stress" - and looking at the "load" figure in the UHAI page doesn't suggest anything even close to max stress.. But I suppose getting close to the upper limit of the PSU isn't going to be a good thing, so perhaps my previous problem was also related to that? - on the desk with the 600mA PSU, the free disk went to 0 in just 2-3 days, and the reliability of the connection to the devices was awful. my previous build was running happily for 2-3 months and I didn't experience the same poor connection reliability, but perhaps it was still a weedy enough PSU that it was causing the same problem, only less frequently? - Matt, does that sound feasible as an explanation? I've now swapped that one out for a decent PSU (a spare from one of my Echo dots, well-built and rated at 1.8A).

Will monitor & report back.

Cheers

Paul G.



 Posted: Tuesday Dec 19th, 2017 08:14 pm
   PM  Quote  Reply 
20th Post
Swiss-Toni
UCM Pi Users


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

  back to top

Although the RPI will run at 850ma it has probably not mentioned that it also consumes power for bluetooth & wifi even though they are not transmitting/recieving which causes fluctuations in the power consumption hence stronger 2a recomended unless of course you have a Rpi 2b then you can run at a lot lower power consumption. Ps Im not a Rpi specialist but i do know that power on the rpi does cause problems if it is not enough or stable. also Echo dot supply should be easily capable of handling the it.

Last edited on Tuesday Dec 19th, 2017 08:16 pm by Swiss-Toni



 Current time is 06:09 pmPage:    1  2  Next Page Last Page  
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems