Problem with freezing CurrentCost Device and livebox RF usage

6 replies [Last post]
wpmax
Offline
Freilassing, Austria
Joined: 4 Jul 2011

Hi!

Since there is a problem with AVR (RF) freezing only solveable with permanent rebooting the livebox running on the old bascom code,
I flashed the new code from brett an now I am on Build 287/3.4.

Since I am on the new AVR firmware, I have the following problem about every 12 hours (e.g. over night):

The CurrenCost device doesn't show any actual Watts on it's display any more, instead only  "--------- W".
The livebox again does not execute RF-changes (via twitter, googlecal or direct) any more.

Just powering off an on the CurrentCost device again and/or cut the serial connection to the livebox doesn't work.

The only way to solve the problem is to reboot/toogle power off an on again on the livebox!

It seens to me as if the CurrentCost device cannot receive Watts-Info from its external device any more, even after cutting off from livebox and rebooting, so maybe the livebox RF disturbes the communication between them? Aditionally I have to say, that I have the external antenna from the shop connected to the livebox.

After livebox rebooting, everything is fine again!

Thanks for your help!

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
rf dropout

RF can be hard to setup. Having two antenna very close to each other will result in a local drop in signal. I keep my CurrentCost receiver as far away from the HAH RF ariel as I can.

However, this doesn't explain why a reboot of the HAH sorts things out. I'm running 287/3.4 and don't see this problem.

It would be interersting to know if a forced restart of xap-Currentcost solves this issue. This would be much cleaner than a full reboot. Do try this & let us know if it helps.

On the topic of reboot, you've done a great job on the Lua scripts - the more example scripts that can be published, the easier it is for other users.

Derek.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
RF and Currentcost

Couple of points.

If your current cost device is not receiving data this is not related to any HAH function.  The xap-current cost daemon is a receiver of data only no control signal is sent back up the cable to the current cost display.  You'll need to better position your head end to be near your clamp transmitter.  Restarting the HAH and/or the xap-currentcost daemon if it has any affect at all can only be coincidence.

The RF unit.  When moving from 2.x firmware to the 3.x firmware as the code is different the timing on the RF signal need to be adjusted.  If you let us know what devices are you controlling we can make sure you are using the right RF HEX sequence.   A failure receive is *not* the same as a failure to transmit (ie lockup).  However the two are *very* hard to distinguish from each other.  To date the v3.4 firmware has not experienced any lock up.

Brett

wpmax
Offline
Freilassing, Austria
Joined: 4 Jul 2011
RF problems

Hi, i've made some more investigations as follows:

When the RF (and currentcost) freezes, even a soft reboot of the livebox (e.g.via putty) doesn't help, only putting the livebox off power helps!

It looks like as if the RF of the livebox is disturbing uninterruptedly, and this is the cause for the currentcost to also show nothing more!

I try now to put the livebox in another room in my house, and will give info if this helped.

Maybe also the timing of the rf signal with the new firmware has something to do with it.
In the attachment there are my rf-signal configs.
Could you please give an advice to modify them to be correct for the new firmware?

Thanks in advice for your help!

AttachmentSize
RF-configs.txt 1.11 KB
brett
Offline
Providence, United States
Joined: 9 Jan 2010
RF timing codes for v3.x

These look like LIDL RF codes - which Gary posted some updates for.  Mind you I'm not sure how he derived these if it was by trial and error or by using scope to figure out the exact timings and then looking at the output of the RF unit and aligning the pulse streams.

http://www.homeautomationhub.com/content/modified-lidl-urf-codes-new-ard...

Can you tell us what RF units you are controlling?  Derek's the man to put up some new RF codes.

Brett

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
Trial and error!

As Brett rightly guessed these codes were derived from trial and error. However, I have a current cost unit sat on top of my livebox and rf and current cost work fine with these codes. Very stable. (I dont use external ant though) One other thought. Do you use a USB hub and other USB devices? Garry

wpmax
Offline
Freilassing, Austria
Joined: 4 Jul 2011
RF codes

for the RF 1, 2, 5, 6 and 7 i use the home and easy codes as described on the homepage, just modifying the last hex digit.
As i am in Austria i can't buy home and easy devices, but i found that my intertechno self learning devices (www.intertechno.at) perfectly worked with that codes.

for the RF 3 and 4 codes have been created with the rf-code helper also provided on the homepage.
this devices are not self learning but have possibilities to setup the devices like the bye bye standby device shown on the  homepage. again this worked perfectly with the old firmware!

@garry: no, by now i do not use a usb hub and other usb devices.

thanks for your code-modifying help!

Hardware Info