This looks like a culfw timing problem for me, and it might be that the
IR-Support of the CUNO is responsible for that.
Debugging is only for an expert, or a novice willing to become one. I am in the
lucky position, that I do not have a CUNO so I cannot help :)
To debug it I would enable msec logging in fhem, switch on the CUL FHT protocol
reporting (X67), and check if the CUNO sends the messages exactly in the
115+0.5*x sec rhytm, where x is the last 3 bits of the CUL-FHTID (T01)
If the rhytm is not correct, you might check if my IR-theory is correct by
disabling it in culfw.
Verstuurd vanaf mijn iPhone
> --
> To unsubscribe from this group, send email to
> fhem-users+...@googlegroups.com
That means that RF Reception is off (00), and you are not sending much data on
SlowRF (900). This is probably ok for the FHT8v, but I've only tested the 8v
with RF on.
Follow my instructions from above: enable mseclog in fhem, and check if the
interval is exactly 115+0.5*(lower-3-bit-of-your-FHTID)
More detailed instruction:
% telnet fhemhost 7072 # using a unix-compatible telnet program)
fhem> attr global mseclog # enable millisecond logging
fhem> inform timer # enable event reporting in the telnet
fhem> set CUL raw X67 # enable FHT reporting on the CUL
fhem> set wz valve 10 # issue the 8v command
fhem> get CUL raw T10 # verify the 8v buffer in the CUL
fhem> get CUL raw T11 # get the time in seconds/hex until the next
# 8v message is sent. You may repeat this for your
# own plesure until it gets 0
When the T11 timer reaches 0, the CUL sends an 8v message. The 8v antenna
symbol should be now on for a short time.
Verify that the time difference between two 8v messages is exactly
115 + 0.5 * (1234 & 7) == 117
This is my theory.
> How can I solve that?
Fix the timing in culfw @ CUNO. I've never tested the FHT8v code with a CUNO,
only with a CUL.
> And what does this message mean, do I have to define anything else besides
> the "define wz FHT8V 1234"?
autocreate is not "X67" compatible, but this is only annoying if you are
debugging. I suggest removeing autocreate as long as you are using X67.
In the culfw source and in some books like K&R. No more help from me in this
case.
> Is that version (CUNO2) also compatible with the first generation
> CUNO?
Of course not, but CUNO V1 shouldn't have had this timing problem as it does not support Infrared at all ... ?!?!
The CUNO / CUNO2 hex files in svn contain the patch now - just try those.
> CUNO it seems that there is still a timing problem.
CUNO v1 has no crystal osc.
You should try manually re-calibrating a CUNO oscillator following the steps:
* run CUNO in Bootloader mode by powering it up with button on its back pressed
* Connect to it with a 38400 baud terminal
* Press 'S' to see if something gets returned
* Then: Press 'C' (capital c) serveral times, or hold it for 5 seconds. This will return something like: "B9 00D0 B8"
* repeat the previous step until the number in the middle is: "?? 00D0 ??"
Than your CUNO osc runs at correct speed to allow proper serial communication with your host.
* Recycle power on CUNO - firmware won't be touched