O2 Joggler and my broken light in living room
Well to start with I am A HARDWARE ENGINEER i deal with resistors nuts cap's and bolts. Software forget it i at my own admission am crap.
But today i broke a light in our living room when i went running into wife and said loooooooooook...................fell over cat grabbed light breaking it into 5+ pieces
you get the picture
anyway once i finally came round (forgot to mention hit head oh fire-cast iron log burner) 10 minutes later wife after realizing i was actually ok and she was not about to be widowed and rich said what? have we won the lottery???? No was my reply i got this working kindof....
she looked and on joggler was a single display saying Outside Temp (no actual display of temp) but it said Outside temp in a nice translucent button.
to repeat her language would be inappropriate..especially on forum
so i set up viewer on a pc and server and have a couple of questions.
on xmlconfig what ip should be the iserver ip? HAH or a real pc running iserver? seems a bit lax in this definition on docs i have read
on xap viewer i see hah sending out loads of stuff, nothing from joggler.
can someone point me in right direction please. yes RTFM several times.
Wifey has calmed down as i have this weekend sold a load of current cost stuff on fleabay, and annoyed one ebayer as i dropped a display whilst packing it :( .
Well the whole idea of running the iServer on the HAH is that you don't need a heavy duty PC running it too. So start by shutting down the windows version. Which kind of answers your next question "which ip?".
In your config.xml you should have the IP address of your HAH and make sure the iServer is running.
The Joggler only sends out information once its connected to the right iServer and has authenticated. I suggest you turn off password authentication on the HAH iServer as its not really needed for a local LAN, the windows iServer cannot operating passwordless - I added this feature to mine.
As for the documentation yes its very scant this stuff is written by hackers who only write code, the problem with that is nobody can use it or figure it out so it ends up on the software trash heap. Which is sad.
If you are getting no data it could be that your UID does not match... the configuration is a little NAFF in that both the SOURCE and the UID must be correctly defined. Personally I would relax the UID.
A snippet from my xapconfig.xml that monitors my office temperature.
That should get you more joy. I'm sure there are many others who acn point you in the right direction.
Sample configuration for a very basic HAH joggler screen along with its xml file.
To make nice screenshots of the joggler I have this alias setup on my linux box.
It remotely connects to the "joggler" runs a command to dump the screen and converts the XWD file format into PNG dropping into a directory for me to grab.
alias grabjoggler='ssh joggler '\''xwd -root -display :0'\'' | convert xwd:- /u02/public/out.png'
Just getting ready post beta 5 for download by anyone ... and was just looking over the current beta test list and I couldn't find your name Dean (G7PKF) ... I maybe have the wrong email address for you... When did I send you the beta link and to what email address ? It is very possible you didn't get the incremental updates either.. The instructions you didn't have (another post) were included with the beta.
Also - I'm keen to get feedback on any issues that there are with beta 5 so that I can fix them in later builds / documentation - so if you can post them to the main thread on AutomatedHome then I'll definitely see them there rather than mixed in on this forum - although depending on how many HAH Joggler users emerge then some section here for xAPFlash might become useful and will be easier for me to monitor.
HAH specific things obviously belong here and Brett has kindly written an iServer implementation that runs on both HAH and the Joggler itself so that's better supported here. The Joggler version can be installed with beta 5.
Yes as Brett says the documentation isn't up to the great level that HAH has - although it is better than a lot that I've seen. I'm an electronics engineer embracing software now as quick as I can learn ... I wouldn't class myself as a 'hacker' which was the term used. xAPFlash was a project for my own use that people seemed interested in so I released it. It was my first ever experience of Flash (awful IDE !) and was never intended as a release quality application.
I had many offers to write up improved docs, installation experiences and example configurations but in the end only one user did some formatting and typo correction to the orginal documentation. Brett provided some of his own install experience notes too and has been a great help recently in moving towards easier installation and fuller documentation. I'm anxious to imrove all these things but the best source for improving this will be users experience and feedback.... keep it coming.
I'll put my hand up and take the rap for this one. I slipped Dean a copy of the 5 beta after he express so much interest in putting this to use. Hopefully my faith in him to provide feedback hasn't been misplaced.
"As for the documentation yes its very scant this stuff is written by hackers who only write code, the problem with that is nobody can use it or figure it out so it ends up on the software trash heap. Which is sad."
I've posted elsewhere re this and am looking to improve it , particularly with feedback , experiences and 'how to's' from users .... I wouldn't call it scant but certainly the XML documentation needs imrovement. GUI examples will help considerably too. This was a 'for me' project that I released for others - warts and all.
"If you are getting no data it could be that your UID does not match... the configuration is a little NAFF in that both the SOURCE and the UID must be correctly defined. Personally I would relax the UID"
NAFF eh ... actually it was done this way for good reason.
1) The XML file maybe be used by different clients with different capabilities - some may have the resources to parse incoming source addresses and some may not and instead have to use UID's. The fact that both are present avoids issues should you move between such clients. I accept that less capable clients are unlikley to be able to run a GUI or parse XML.
2) Recognising UID's is much easier and faster than source addresses and this is in fact how xAPFlash works. In heavy xAP traffic environments (like mine) this does make a difference.
3) The <source> address is included so that you have something that immediately associates the <uid> with a xAP device in a readable way, documentation if you like.
4) If in a later version of xAPFlash the recognition is moved to source address rather than UID then the XML will still work without change.
5) Allowing registration of UID's with iServer was another possible way of defining which traffic might be passed between iServer and xAPFlash. As iServers might be implemented on a very small memory embedded device (and xAP source lengths are not restricted lengthwise) this was pre-emptive of that need.
6) You require the <source> address to be able to send (target) a message back to that device, for example to control a relay on HAH. You can not target a xAP endpoint by UID.
Just for completeness .. it is possible to recover source address from xAP BSC devices but it can take up to a minute from startup , sometimes longer, for that to happen
Dean - You say xAP has been updated on the HAH and that the xAP 'old' code is hence broken. Which is the old code you mean - I assume it's a XML file. Is it my basic example that I included with the original beta 5 distribution ? If so I wasn't aware it's broken but it could be - would the Joggler not load it or what was the issue ?
- . -
A fellow Marconi man. I was Draughtsman at Command & Control!
Did all my onc, hnc stuff but that was a few years back now, bit like my French, didn't get used much and withered a lot.
I've emailed elsewhere the reasons for my absence, but I'm keen to get back on the horse!!! How did you get on with the Joggler/HAH...reading the above looks like you had fun....
I was at the point of waiting for the arrival of the Joggler Beta 5 stuff...looks like you're way ahead of me now...how was it - and where is it (do you have an URL location?)....
I've got a Joggler on my desk, my HAHHub is feeding my Pachube site nicely (visit feed 34982) and i'm keen to integrate the two....would you oblige with hints and tips?...
Hope to hear from you soon