• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Connect digital weather sensor
#21
Hi meloen,

What did you mean with battery pull? When I remove the battery from sensor it will not send data when I press the send button...

Or did you mean that I have to reinsert them before I press the send button again?

- pilight-debug info with temp/humidity
- battery pull
-batery insert
- pilight-debug info with temp/humidity
- battery pull
-batery insert
- pilight-debug info with temp/humidity
 
Reply
#22
Yes you're right. I meant removing and reinserting the batteries.
 
Reply
#23
Hi Meloen,

looks different as before without modifyed threechan.c file.

Everytime same 4 time rawcode.

20.9°C / 50%
Code:
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         76
binlen:         19
pulselen:       266

Raw code:
532 3990 532 4256 532 2128 532 4256 532 3990 532 4256 532 2128 532 3990 532 2128 532 2128 532 3990 532 2128 532 2128 532 2128 532 2128 532 2128 532 4256 532 3990 532 2128 532 4256 532 2128 532 2128 532 2128 532 4256 532 2128 532 4256 532 4256 532 2128 532 2128 532 4256 532 2128 532 3990 532 4256 532 2128 532 4256 532 2128 532 2128 532 9044
Binary code:
1111111111111111111

Batterie reinsert and debug looks like doesen't work well...
Code:
root@raspberrypi:/home/pi# pilight-debug
Now press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
It is possible that the debugger needs to be restarted when it does
not show anything. This is because it's then following a wrong lead.
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         4
binlen:         1
pulselen:       265

Raw code:
530 2120 530 9010
Binary code:
1
root@raspberrypi:/home/pi# pilight-debug
Now press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
It is possible that the debugger needs to be restarted when it does
not show anything. This is because it's then following a wrong lead.
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         4
binlen:         1
pulselen:       265

Raw code:
530 4240 530 2120
Binary code:
1
root@raspberrypi:/home/pi# pilight-debug
Now press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
It is possible that the debugger needs to be restarted when it does
not show anything. This is because it's then following a wrong lead.
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         4
binlen:         1
pulselen:       265

Raw code:
530 2120 530 9010
Binary code:
1


22.7°C / 46%
Code:
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         4
binlen:         1
pulselen:       266

Raw code:
532 2128 532 9044
Binary code:
1

Here are a pilight-daemon -D log sample

Code:
:27:361265] pilight-daemon: DEBUG: socket write succeeded: {"message":"client gui"}

[Feb 26 18:54:27:361781] pilight-daemon: INFO: new client, ip: 192.168.0.180, port: 53955
[Feb 26 18:54:27:361961] pilight-daemon: DEBUG: client fd: 16
[Feb 26 18:54:27:362113] pilight-daemon: DEBUG: client id: 2
[Feb 26 18:54:27:362435] pilight-daemon: DEBUG: socket recv: {"message":"client gui"}
[Feb 26 18:54:27:362920] pilight-daemon: DEBUG: socket write succeeded: {"message":"accept client"}

[Feb 26 18:54:27:363106] pilight-daemon: INFO: client recognized as gui
[Feb 26 18:54:41:908232] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:41:908554] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:41:909625] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":463,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[ Feb 26 18:54:42:68260] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[ Feb 26 18:54:42:68524] pilight-daemon: DEBUG: called threechan parseCode()
[ Feb 26 18:54:42:69467] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":239,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:42:228383] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:42:228642] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:42:229590] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:42:388515] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:42:388765] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:42:389710] pilight-daemon: DEBUG: broadcasted: {"code":{"id":151,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:42:548608] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:42:548871] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:42:549802] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:43:318254] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:43:318498] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:43:319431] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:43:478288] pilight-daemon: DEBUG: caught minimum # of repeats 2 of threechan
[Feb 26 18:54:43:478549] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:43:479484] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":2}
[Feb 26 18:54:43:638507] pilight-daemon: DEBUG: caught minimum # of repeats 3 of threechan
[Feb 26 18:54:43:638770] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:43:639701] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":3}
[Feb 26 18:54:43:798565] pilight-daemon: DEBUG: caught minimum # of repeats 4 of threechan
[Feb 26 18:54:43:798821] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:43:799758] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":4}
[Feb 26 18:54:43:958618] pilight-daemon: DEBUG: caught minimum # of repeats 5 of threechan
[Feb 26 18:54:43:958880] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:43:959819] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":5}
[Feb 26 18:54:44:851966] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:44:852233] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:44:853172] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[ Feb 26 18:54:45:12030] pilight-daemon: DEBUG: caught minimum # of repeats 2 of threechan
[ Feb 26 18:54:45:12294] pilight-daemon: DEBUG: called threechan parseCode()
[ Feb 26 18:54:45:13238] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":2}
[Feb 26 18:54:45:172185] pilight-daemon: DEBUG: caught minimum # of repeats 3 of threechan
[Feb 26 18:54:45:172444] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:45:173376] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":3}
[Feb 26 18:54:45:332291] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:45:332531] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:45:333471] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":1},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:45:492286] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:45:492549] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:45:493489] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:46:385678] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:46:385936] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:46:386883] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:46:866031] pilight-daemon: DEBUG: caught minimum # of repeats 2 of threechan
[Feb 26 18:54:46:866299] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:46:867249] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":2}
[ Feb 26 18:54:47:26139] pilight-daemon: DEBUG: caught minimum # of repeats 3 of threechan
[ Feb 26 18:54:47:26398] pilight-daemon: DEBUG: called threechan parseCode()
[ Feb 26 18:54:47:27337] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":207,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":3}
[Feb 26 18:54:59:374576] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:59:374840] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:59:375789] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":210,"humidity":590,"battery":1},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:59:522420] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:59:522684] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:59:523628] pilight-daemon: DEBUG: broadcasted: {"code":{"id":209,"temperature":216,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:59:670378] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:59:670643] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:59:671573] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":208,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:59:818235] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:59:818502] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:59:819444] pilight-daemon: DEBUG: broadcasted: {"code":{"id":147,"temperature":208,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Feb 26 18:54:59:966184] pilight-daemon: DEBUG: caught minimum # of repeats 1 of threechan
[Feb 26 18:54:59:966446] pilight-daemon: DEBUG: called threechan parseCode()
[Feb 26 18:54:59:967394] pilight-daemon: DEBUG: broadcasted: {"code":{"id":145,"temperature":240,"humidity":510,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}

Maybe the receiver is not the best. I have to hold the sensor directly near the cheap receiver... Any recommendation for a good 433Mhz receiver or sender/receiver shield?

Regards Peter
 
Reply
#24
Quote:Maybe the receiver is not the best. I have to hold the sensor directly near the cheap receiver... Any recommendation for a good 433Mhz receiver or sender/receiver shield?

Regards Peter
*Kuch*... wiki
 
Reply
#25
Hi curlymo,

I read a lot of sites about receivers and 433MHz....

Also read nearly all pilight sites Angel

I wondering that no one have a PI shield with 433Mhz sender/reciever when your programm can use this to connect a lot of them as a "swarm".

Maybe someone from this forum can make some and sell them to us.

BTW: I have order a PI humble board + 3.3V/5V converter + your tested best reciever.

Hope I can give some better receive numbers next week with "Super" receiver.

Regards Peter
 
Reply
#26
While waiting on the new receiver, you can always add a 17.3cm copper wire antenna to your current receiver.

I made a pull request on pilight development three containing the Teknihall protocol.
 
Reply
#27
The Teknihall protocol is merged in the development tree thanks to curlymo. Could you test and report the results?
 
Reply
#28
Hi meloen,

I got my new "Expensive" Aurel receiver and did some testing. There are some problemes with signals I guess.

But here are some results with the development build from weekend.
Code:
root@raspberrypi:/home/pi/pilight# pilight-receive
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 3
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 3
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 3
}
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 4
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 4
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 4
}
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 5
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 5
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 5
}
{
        "code": {
                "id": 130,
                "temperature": 99,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 6
}
{
        "code": {
                "id": 2086,
                "temperature": 570,
                "humidity": 2480,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 6
}
{
        "code": {
                "id": 2086,
                "temperature": 1594
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 6
}
{
        "code": {
                "systemcode": 9,
                "unitcode": 0,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "pollin",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 130,
                "temperature": 112,
                "humidity": 1100,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 781,
                "humidity": 2140,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 1805
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 130,
                "temperature": 112,
                "humidity": 1100,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2082,
                "temperature": 781,
                "humidity": 2140,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2082,
                "temperature": 1805
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 130,
                "temperature": 368,
                "humidity": 1100,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 781,
                "humidity": 2140,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 1805
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 130,
                "temperature": 112,
                "humidity": 1100,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 781,
                "humidity": 2140,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 2082,
                "temperature": 1805
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 130,
                "temperature": 112,
                "humidity": 1100,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "teknihall",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2082,
                "temperature": 781,
                "humidity": 2140,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 2082,
                "temperature": 1805
        },
        "origin": "receiver",
        "protocol": "alecto",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}

Debug:
Code:
root@raspberrypi:/home/pi/pilight# pilight-debug
Now press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
It is possible that the debugger needs to be restarted when it does
not show anything. This is because it's then following a wrong lead.
--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         4
binlen:         1
pulselen:       262

Raw code:
524 3930 786 1834
Binary code:
1

Daemon debug:
Code:
[Mar 11 21:04:47:745758] pilight-daemon: INFO: new client, ip: 192.168.0.180, port: 54123
[Mar 11 21:04:47:745982] pilight-daemon: DEBUG: client fd: 16
[Mar 11 21:04:47:746189] pilight-daemon: DEBUG: client id: 2
[Mar 11 21:04:47:746589] pilight-daemon: DEBUG: socket recv: {"message":"client gui"}
[Mar 11 21:04:47:747199] pilight-daemon: DEBUG: socket write succeeded: {"message":"accept client"}

[Mar 11 21:04:47:747399] pilight-daemon: INFO: client recognized as gui
[Mar 11 21:05:01:708702] pilight-daemon: DEBUG: caught minimum # of repeats 1 of teknihall
[Mar 11 21:05:01:709072] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:01:711874] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":139,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:01:712566] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":189,"humidity":2220,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:01:713077] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2237},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:01:862247] pilight-daemon: DEBUG: caught minimum # of repeats 2 of teknihall
[Mar 11 21:05:01:862567] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:01:865222] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":139,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":2}
[Mar 11 21:05:01:865843] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":189,"humidity":2220,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":2}
[Mar 11 21:05:01:866342] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2237},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":2}
[ Mar 11 21:05:02:15756] pilight-daemon: DEBUG: caught minimum # of repeats 3 of teknihall
[ Mar 11 21:05:02:16083] pilight-daemon: DEBUG: called teknihall parseCode()
[ Mar 11 21:05:02:18685] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":139,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":3}
[ Mar 11 21:05:02:19254] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":189,"humidity":2220,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":3}
[ Mar 11 21:05:02:19767] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2237},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":3}
[Mar 11 21:05:02:169462] pilight-daemon: DEBUG: caught minimum # of repeats 4 of teknihall
[Mar 11 21:05:02:169793] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:02:172351] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":139,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":4}
[Mar 11 21:05:02:172911] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":189,"humidity":2220,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":4}
[Mar 11 21:05:02:173408] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2237},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":4}
[Mar 11 21:05:02:322899] pilight-daemon: DEBUG: caught minimum # of repeats 5 of teknihall
[Mar 11 21:05:02:323226] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:02:325854] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":139,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:02:326426] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":189,"humidity":2220,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:02:326897] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2237},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:05:637964] pilight-daemon: DEBUG: caught minimum # of repeats 1 of teknihall
[Mar 11 21:05:05:638264] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:05:640857] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:05:641471] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":301,"humidity":2180,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:05:641969] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:05:787405] pilight-daemon: DEBUG: caught minimum # of repeats 2 of teknihall
[Mar 11 21:05:05:787713] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:05:790269] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":2}
[Mar 11 21:05:05:790876] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":301,"humidity":2180,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":2}
[Mar 11 21:05:05:791361] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":2}
[Mar 11 21:05:05:936914] pilight-daemon: DEBUG: caught minimum # of repeats 3 of teknihall
[Mar 11 21:05:05:937233] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:05:939807] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":3}
[Mar 11 21:05:05:940414] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":301,"humidity":2180,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":3}
[Mar 11 21:05:05:940906] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":3}
[ Mar 11 21:05:06:86499] pilight-daemon: DEBUG: caught minimum # of repeats 4 of teknihall
[ Mar 11 21:05:06:86798] pilight-daemon: DEBUG: called teknihall parseCode()
[ Mar 11 21:05:06:89376] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":4}
[ Mar 11 21:05:06:89940] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":301,"humidity":2180,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":4}
[ Mar 11 21:05:06:90491] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":4}
[Mar 11 21:05:06:235884] pilight-daemon: DEBUG: caught minimum # of repeats 5 of teknihall
[Mar 11 21:05:06:236201] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:06:238718] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:06:239291] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":301,"humidity":2180,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:06:239793] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2086,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":5}
[Mar 11 21:05:07:653281] pilight-daemon: DEBUG: caught minimum # of repeats 1 of teknihall
[Mar 11 21:05:07:653560] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:07:656235] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":178,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:07:656846] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2082,"temperature":813,"humidity":2160,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:07:657355] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2082,"temperature":2861},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:08:235075] pilight-daemon: DEBUG: caught minimum # of repeats 1 of teknihall
[Mar 11 21:05:08:235392] pilight-daemon: DEBUG: called teknihall parseCode()
[Mar 11 21:05:08:237919] pilight-daemon: DEBUG: broadcasted: {"message":{"id":130,"temperature":146,"humidity":1100,"battery":0},"origin":"receiver","protocol":"teknihall","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:08:238494] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2082,"temperature":301,"humidity":2160,"battery":0},"origin":"receiver","protocol":"threechan","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:08:238990] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2082,"temperature":2349},"origin":"receiver","protocol":"alecto","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:16:198120] pilight-daemon: DEBUG: caught minimum # of repeats 1 of impuls
[Mar 11 21:05:16:198498] pilight-daemon: DEBUG: called impuls parseCode()
[Mar 11 21:05:16:200367] pilight-daemon: DEBUG: broadcasted: {"message":{"systemcode":13,"programcode":15,"state":"on"},"origin":"receiver","protocol":"impuls","uuid":"03BF-00-00-BF-000300","repeats":1}
[Mar 11 21:05:16:200949] pilight-daemon: DEBUG: broadcasted: {"message":{"id":"F14","unit":13,"state":"off"},"origin":"receiver","protocol":"rev_switch","uuid":"03BF-00-00-BF-000300","repeats":1}

I put the example from the protokoll wiki into my config.json
Code:
    "Balkon": {
        "name": "Balkon",
        "Wettersensor": {
            "name": "Wettersensor",
            "protocol": [ "teknihall" ],
            "id": [{
                "id": 129
            }],
            "temperature": 189,
            "humidity": 410,
            "battery": 1
        }
    }
but there are no change on my rapberrypi/pilight:5100 webside.... I guess ID:129 is wrong. I change it to id:130 and I get some numbers that look OK but the Batterie symbol are red!

What about the possible three channel settings for this temperatur sensor? It's not need for me but maybe interesting for some other peoples that will use three sensor on different locations.

Regards Peter
 
Reply
#29
I would just try the different received values.
I see a ID 130 teknihall
And a ID 2086 threechan
And a ID 2086 alecto

And i also see the ID 2082. So just try them.
 
Reply
#30
Just use teknihall protocol with ID 130, with other protocols the temperature and humidity will be incorrect. For the battery, please change line 44 in tecknihall.c from

Code:
battery = teknihall->binary[8];

to

Code:
battery = teknihall->binary[9];

Then the battery will be green, but I'm not 100% sure if that is the actual battery bit. The only way to know for sure is to test with almost empty batteries Smile

p.s. when you use pilight-debug, first stop pilight service or pilight-daemon
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Partially Supported] TFA / Conrad Weather Yves 203 25,977 03-27-2020, 01:21 PM
Last Post: Ascenion
  [Fully Supported] KlikAanKlikUit Motion Sensor koen01 37 15,155 03-26-2020, 02:46 PM
Last Post: Gisto
  Digoo / Baldr / Nexus / Rubicson temperature/humidity sensor thielj 12 3,059 02-10-2020, 10:54 PM
Last Post: ha_username
  Support for Temperaturee sensor clona 4 460 02-10-2020, 02:52 PM
Last Post: clona
  inFactory Weather Sensors porst17 1 356 12-26-2019, 06:43 PM
Last Post: porst17
  gs-iwds07 window sensor Loggisch 48 17,259 12-09-2019, 07:14 PM
Last Post: curlymo
Lightbulb [Fully Supported] Kaku Door sensor (AMST-606) geerttttt 53 28,309 10-19-2019, 06:26 PM
Last Post: curlymo
  433MHz PIR sensor from Amazon ha_username 0 696 09-29-2019, 11:44 PM
Last Post: ha_username
  Bresser 3Ch weather sensors Harald654 13 5,937 02-15-2019, 01:06 PM
Last Post: saak2820
  Pearl weatherstation sensor for FWS-686 & FWS-665 chklump 13 6,356 08-12-2018, 05:34 PM
Last Post: fourty2

Forum Jump:


Browsing: 1 Guest(s)