• 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
#11
Over here it compiles fine with the modified threechan.c. Regarding the search, the Search tab next to the Forum tab works better. Using that would get you here: http://forum.pilight.org/Thread-Solved-n...is+invalid .
 
Reply
#12
Hi Meloen,

thanks for pointing me to the search... but there where no real fix of that issue.

After I delete also the etc/pilight folder and recompile the pilight development + special threechan.c. the pilight service starts.

Please follow our rules and search

Reagrds Peter

I did a recompile of the master pilight source and it also dosen't work now..

fhem told me:
Code:
pilight: ERROR. Can't open socket to pilight-daemon: Connection refused

When I try to open the weppage I got a empty pilight 3.0 page...

So any suggestions how to fix that?

Regards Peter
 
Reply
#13
You can open a new thread because this issue is unrelated to this thread.

Also, questions about a plugin not working can be posted on the forum of that specific plugin (in this case fhem), or if the developer created a thread about it here (in case of most of the android apps), you can post it in the appropriate topic.
 
Reply
#14
(02-23-2014, 11:35 PM)Pitter2014 Wrote: After I delete also the etc/pilight folder and recompile the pilight development + special threechan.c. the pilight service starts.

After the compile was successfull, did pilight-receive or pilight-daemon -D showed anythong when the sensor sent info? (for best results, run setup.sh and disable alecto weather sensor).
 
Reply
#15
Hi meloen,

a pilight-recieve bring that result:
Code:
root@raspberrypi:/home/pi/pilight# pilight-receive
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 3
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 4
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 5
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 6
}

Sensor show 24.2°C and 55% humidity.

Regards Peter
 
Reply
#16
That looks like a bad reading; id, humidity and temp are al 1's.

What happens if you wait some more signals? If you get different values, but still incorrect, could you post a pilight-receive and a pilight-debug with the same temp & humidity?
 
Reply
#17
Hi meloen,

Here are the data....

23.6 °C / 49% / Channel 3
pilight-receive
Code:
root@raspberrypi:/home/pi/pilight# pilight-receive
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 3
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 4
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 5
}
{
        "code": {
                "id": 255,
                "temperature": 1023,
                "humidity": 1270,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 6
}

pilight-debug
Code:
--[RESULTS]--

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

Raw code:
532 4256 532 2128 532 3990 532 3990 532 3990 532 3990 532 2128 532 3990 532 2128 532 3990 532 3990 532 2128 532 2128 532 2128 532 2128 532 2128 532 4256 532 3990 532 3990 532 2128 532 4256 532 3990 532 2128 532 2128 532 2128 532 3990 532 3990 532 2128 532 2128 532 2128 532 3990 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 9044
Binary code:
1111111111111111111
 
Reply
#18
Made a mistake based on wrong pilight-debug info. Could you modify line 64 of threechan.c and recompile:

Code:
threechan->pulse = 15;
 
Reply
#19
Hi meloen,

Here are the Data:

starting with 18.7°C / 67%


Code:
root@raspberrypi:/home/pi/pilight# pilight-receive
{
        "code": {
                "id": 189,
                "temperature": 187,
                "humidity": 700,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 443,
                "humidity": 680,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 187,
                "humidity": 680,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 187,
                "humidity": 680,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 187,
                "humidity": 680,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 187,
                "humidity": 680,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 199,
                "humidity": 670,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 195,
                "humidity": 1230,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 451,
                "humidity": 750,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 963,
                "humidity": 870,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 203,
                "humidity": 670,
                "battery": 1
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}

21.4°C / 56%
Code:
{
        "code": {
                "id": 189,
                "temperature": 214,
                "humidity": 1220,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 214,
                "humidity": 560,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 214,
                "humidity": 560,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 2
}
{
        "code": {
                "id": 253,
                "temperature": 214,
                "humidity": 570,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 214,
                "humidity": 560,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
{
        "code": {
                "id": 189,
                "temperature": 214,
                "humidity": 560,
                "battery": 0
        },
        "origin": "receiver",
        "protocol": "threechan",
        "uuid": "03BF-00-00-BF-000300",
        "repeats": 1
}
 
Reply
#20
Besides the first strange reading @ 21.4°C / 56%, it seems quite OK to me. The decimals are fixed in the gui, so nothing to worry about. Reported numbers are ok. To finish the information, could you send me some pilight-debug info before and after a battery pull? Preferably:

- pilight-debug info with temp/humidity
- battery pull
- pilight-debug info with temp/humidity
- battery pull
- pilight-debug info with temp/humidity

This helps identify the device ID bits.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Partially Supported] TFA / Conrad Weather Yves 203 25,976 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)