Closed PatrikBrodd closed 6 years ago
Thanks for the links - the code describes the protocol pretty well. However, there are 3 different protocols in there:
My guess is your sensor only has temperature, so you need the first one (WH2) supported?
BTW: did you enable 'Alecto v3'? That one supports the WH2(A).
Yes it´s only a temp sensor. Yes I have all the protocols enabled. the temp sensor don't turn upp. Perhaps it´s Rubicson?
After googling a bit it indeed looks like you need Rubicson. That is assuming the TSS340 uses the same protocol as the TSS320 (which I believe I read somewhere).
Is there any possibility for you to get it to work?
Can you get a recording of the signal? https://developer.athom.com/tools/signals
Just checked the Rubicson protocol, but that is almost exactly the same as the Auriol protocol (Rubicson has CRC info in the last two nibbles where Auriol has humidity). So if the signal was Rubicson, you would have received the data with Auriol set to 'on'.
i don´t get any data.
The only data I get is from a outside temp I also have.
I think that I succeeded to record the signal. recordings.zip
Do you have a longer recording? Normally the signal is repeated - I don't see a repeat signal here, so hard to determine what the actual signal is.
Is this better? recording-4.vcd.zip
There is no repeat signal, but the signal in there looks like Alecto v3 (48 bits). Also used by the WH2.
Can you download the statistics and add the json file here?
Good! Consistent data in there under Alecto v3. It just fails the CRC check as it is not Alecto v3 :-). Now to figure out what the encoding is...
What was the temperature at the time of capture (21:27:33 / 21:28:21)?
I think it was 24'C
Here is a new one New stats1506355720625.json.zip
So it did find the sensor once... (as WH2A)
it looks like it. but it dosen´t show upp in the Homey. it works fin whit my Telldus tillstick and its updating very often.
Could you try to increase the sensitivity for Alectov3?
Change line 623 of app.json
to "sensitivity": 0.4,
and install via the CLI.
Wow... that is a bit over my knowledge.. I don´t really know how to do that.. Is there any place I can learn how? Youtube clips maybe? Sorry that I don´t know. I´m only a beginner att this.
Okej. i made it!
And the app is installed on the Homey. What now?
Check if the signal is now (more) often received with the higher sensitivity.
Dosen´t show. stats1506364273094.json.zip
Now it showed upp in statistics ett25-09 2041.json.zip
Ok, I see what is happening. I don't understand why it happens, but I've implemented a workaround.
Can you try the latest code from GitHub and see if that works for you?
Tested. does not seem to work. stats1506368380452.json.zip
Please make sure you use the latest code. If I put your received data in, it works.
I don’t know how. Should I download and reinstall the entire app. Which I did or should I just replace a file or change code in a file?
Yes, download all the latest code to be sure. You can check that this is part of the code in alecto/index.js
:
if (data.length % 4 !== 0) {
data = data.splice(data.length % 4)
}
The re-install the app with --install
or --run
.
I deleted the app on Homey. And reinstalled with the new one. The sensor do not turn upp in settings. After 15min I downloaded the statistics.
Did you check the alecto/index.js
file?
yes. I found this.
Then the json file you sent doesn't make sense. It is impossible to have a WH2A with humidity 255 with this version. Can you take a screenshot of the Settings -> Apps page for this app?
Okej. Is there any other things that I can do to help you solve this?
Yes, see the request for the screenshot above.
Sorry. don't understand
Like this:
As you can see you are running version 1.2.1. Latest version is 1.2.2.
Ops... sorry. now I have reinstalled it . I did something wrong.
Hello again. My sensor works fine by the way. Thank you so much for all your support!!
I have a new problem... My friend also has ha sensor like mine (same brand). but a newer version. I installed you're upgraded app on he´s Homey but the temp Is wrong. it shows like -6.3 degrees when its +39 degrees.
Here is his stats.
Can you download and test the latest version of the code and check it is OK now (incl. channel)? If there is still an issue, please create a new one.
I have many fineoffset thermometers as well. How can I install 1.2.2 to get this new support? The version on app store is still 1.2.1
Clindh. You can find it here https://www.youtube.com/watch?v=lRZLvhF2sfk And here https://snillevilla.se/miniguide-installera-appar-pa-homey-utan-att-anvanda-athom-appstore/
Thanks Patrik, that worked fine.
Is there any possibility for you to add more protocols? I need the "fineoffset" protocol that my pool temp is using. What do you mean with add a link to the protocol description? I'm new att this.
https://github.com/merbanan/rtl_433/blob/master/src/devices/fineoffset.c
http://www.globalsources.com/si/AS/Proove-AB/6008847989756/pdtl/Temperature-Sensor/1082623540.htm