Closed oskarn97 closed 4 years ago
You should also check the BatterySensorExt
template parameters.
reference voltage 1 seems to be not correct?
And did you wake up the HM-RC-KEY4-3 by pressing the CONFIG_BUTTON before trying the assignHmKey command?
...and one more idea: did you run the FreqTest sketch to get the correct cc1101 frequency settings?
That is just the divider ration, since I have a battery lower than Vcc, I do not need a voltage divider. Communication in general works fine, only assigning a new HM Key does not work.
That is just the divider ration
https://github.com/pa-pa/AskSinPP/blob/master/BatterySensor.h#L247-L248
template <uint8_t SENSPIN,uint8_t ACTIVATIONPIN,uint16_t VCC=3300>
class BatterySensorExt : public BatterySensor {
The 3rd parameter is the VCC reference value
only assigning a new HM Key does not work.
but you did compile the sketch with #define USE_AES
?
https://github.com/pa-pa/AskSinPP#enable-aes-support
1 minute before me :-) You need AES support compiled in.
Yes, I did and I also provided a default AES Key. What I want to do now is transmit a custom AES Key without compiling it in. Is that possible?
I traced it back to this line: https://github.com/pa-pa/AskSinPP/blob/ecdefd730f62b5616c92b65abbf14eac9eca2ec0/Sign.h#L120 This check fails. What does that mean?
Maybe have to compile with the correct eQ-3 default AES key (can be found with Google).
#define HM_DEF_KEY 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10
is just fake data.
Using this fake aes key causes "Signature FAILED" on my site.
But only for the case, there is no custom key set while teaching in.
If you have already a custom key set while teaching, you can use the fake key above.
All tests were done with RaspberryMatic.
Hey Jerome,
thanks for your reply. When using an example Sketch like HM-SEC-WDS.ino, everything works. With remote channel applications like HM-RC-4.ino it does not. I've provided the correct AES Key.
To reproduce this issue, please try the HM-RC-4.ino sketch.
please try the HM-RC-4.ino sketch.
I used the HM-RC-4 sketch for the tests and screenshots above
Providing the correct default key seemed to have worked for me... Thanks a lot!!
Hey there, I am trying to recreate a HM-RC-KEY4-3. Unfortunately, when issuing the assignHmKey command with my CUL, my module responds with NACK. How do I activate the storage of
Thanks for your help.