January 7, 2013 at 18:43 #3821ChrisKeymaster
Wonko, would you mind putting some more words around this and making it a blog post (feature from the menu at the top)? While traffic to the forum is picking up, it’s stuff like this that makes the community great and what I want to promote through the use of the blog. It will also allow us to tweak the SEO a bit to give it good search engine exposure and I will put something on the front page slider.
If you are happy, I will see what I need to do to give you editing permission.
This offer goes out to others too – if you have a specific project that you would be happy to write about (and maintain) in more depth than a simple forum post, please let me know and we can increase the use of the blog.January 10, 2013 at 20:45 #3869Anonymous
Sounds like a good idea – I’d be happy to turn this into a blog post. Let me know when you’ve updated the permissions.January 10, 2013 at 22:24 #3873paulyParticipant
if you don’t use the mobile app, then I don’t think what you have told the official servers you are calling the rooms matters. I worried about this at first, I had set up the dining room as room 1 and the bedroom as room 2 and was concerned about keeping in sync with this as I developed my own stuff, but does it matter? I reordered them, and everything still works. It seems like the protocol must take into account the device you are sending from when you send the signal, so when I put the lounge lights in learning mode and first sent a signal from the command line on the raspberry pi I called that room 1 device 1 this time, and everything still works as expected.
I’m not imagining this am I? I seem to be bypassing the “official” config.
Is everyone else making heavy use of the phone app?12 rooms automated, time to stop now... API + more at https://github.com/pauly/lightwaverfJanuary 11, 2013 at 09:23 #3879ChrisKeymaster
I am in the process of hacking together my own Objective-C code (maybe for ultimate deployment to my (and others?) iPad/iPhone) and in testing, I just replicated the device/room code from my existing official iPhone app and the same lights activated (once I’d authorized the mac with the Wi-Fi link of course). This makes me think that the room and device number sent to the Wi-Fi link are mapped internally to specific identifiers that are transmitted over the 433.92Mhz radio so sending the same device and room IDs from different devices results in the same radio signal and the same devices doing what they are supposed to.
There is no reason (other than filling the memories) why you couldn’t pair a dimmer with two different room/device ID’s. The only limitation would be that you would be using more of the six available pairing slots in each device and if you had other devices using the same room/device ID’s elsewhere in the house, these would activate too.
With website app, I assume this is just sending the room/device ID to your Wi-Fi link and it responds the same way. There is room in the UDP protocol to send a string and this is then displayed on the LCD when the Wi-Fi link does it’s thing. None of the code I have written uses it – my Wi-Fi link is in the loft and I can’t see it without getting a ladder out so it just adds unnecessary bytes to the network traffic.January 14, 2013 at 20:20 #4042tinkerfailureParticipant
I only found this forum yesterday. Very nice work Chris!
I’ve been using my own app on my iphone for a few months now. I had a fiddle with XCode on the Mac to see what was involved with writing a ‘proper’ Objective-C app for the iphone. But I reckon the level of complexity I require is well within the capabilities of an HTML5 web-app. This has a couple of benefits for me: I’ve been writing PHP and HTML/CSS for a few years now, and it free’s the app from the constraints of being tied to one platform or another.
Currently, I have 2 seperate CSS layouts. One for the iPhone and a larger one for the iPad (which is currently also selected if you visit it from a computer browser, I’ll write a full one later). There’s a bit of stuff to display temperature graphs for the house, but the main use for it at the moment is to do LightwaveRF switching.
It’s all made possible by the work Steven over at http://blog.networkedsolutions.co.uk/?p=149 did. I expanded on his work decoding the WiFiLink messages and basically set up a controller that sets different moods. The backend script can be found here:
Feel free to use or revise the code as you see fit!
You must be logged in to reply to this topic.