×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 1187
  • Thank you received: 370
Hm, but that's syntactically problematic, since you do not return a value although the function is declared as boolean. What happens if you add a "return(true);" ?
3 years 1 month ago #68996

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Where would I put the "return(true);" ?
3 years 1 month ago #69040

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
Replace
// return (mlxData.status);
3 years 1 month ago #69045

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
I am coming back to you because I still have my problem.
Indeed, after a while my weather forecast freezes and I have no more data.
I can't find the tmp file that should give me the cause of the problem.
What do you need to see where the problem comes from that I can't get the tmp file?
Thanks for your help guys
Last edit: 3 years 1 month ago by Porchet.
3 years 1 month ago #69082

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
That works with the return(true");
⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮{"version":"1.12"}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":2}
{}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.80999,"T obj":22.58999}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
{"MLX90614":{"init":true,"T amb":19.02999,"T obj":17.95001}}
 
3 years 1 month ago #69170

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
3 years 1 month ago #69174

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
yes it does, thanks for the help. I will carry on connecting the other sensors and debugging if necessary ;)
3 years 1 month ago #69189

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
BME280 connected on the I2C port, so far so good.

{
"BME280": {
"init": true,
"Temp": 23.48,
"Pres": 1019.813,
"Hum": 40.57813
},
"MLX90614": {
"init": true,
"T amb": 22.42999,
"T obj": 22.95001
}
}
3 years 1 month ago #69192

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
and finally the TSL2591

{
"BME280": {
"init": true,
"Temp": 22.17,
"Pres": 1019.764,
"Hum": 42.69531
},
"MLX90614": {
"init": true,
"T amb": 21.67001,
"T obj": 22.11001
},
"TSL2591": {
"init": true,
"Lux": 35.93759,
"Visible": 10489,
"IR": 1596,
"Gain": 32,
"Timing": 1
}
}
3 years 1 month ago #69193

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
ok... not getting the data on the webpage (works fine in Ekos).

root@heidenrod-obs:/usr/share/weatherradio/html/data# more RTdata_lastupdate.json
{
"CloudCover":null,
"DewPoint":null,
"Humidity":null,
"Pressure":null,
"RainVolume":null,
"RaindropFrequency":null,
"SQM":null,
"SkyTemperature":null,
"Temperature":null,
"WindDirection":null,
"WindGust":null,
"WindSpeed":null,
"timestamp":1616625127000
}
root@heidenrod-obs:/usr/share/weatherradio/html/data#
3 years 1 month ago #69195

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
root@heidenrod-obs:/usr/share/weatherradio# ./bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Timeout Weather Radio CONNECTION
Setting serial port to /dev/ttyUSB0
Waiting for connection...
got message by host :localhost :
INDImessage Weather Radio [INFO] Failed to receive full response: Timeout error. (Return code: -4). Retrying...
got message by host :localhost :
INDImessage Weather Radio [INFO] Failed to receive full response: Timeout error. (Return code: -4). Retrying...
got message by host :localhost :
INDImessage Weather Radio [ERROR] Parsing error breaking bad at 0
root@heidenrod-obs:/usr/share/weatherradio#
Last edit: 3 years 1 month ago by Gonzothegreat.
3 years 1 month ago #69199

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Doesn't seem to work in Ekos now :(
 
3 years 1 month ago #69210
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 1.208 seconds