Comments (9)
👀 into it
from homebridge-weather-plus.
With debug mode
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Updating weather from Weatherflow Tempest
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Current Conditions for station 'Weather': {
AirPressure: null,
Condition: 'Unknown',
ConditionCategory: 0,
Humidity: 78.17,
ObservationStation: 'ST-000XXXXX',
ObservationTime: '16:31:14',
Rain1h: 0,
RainBool: false,
RainDay: 0,
SolarRadiation: 40,
Temperature: 10.56,
TemperatureApparent: 9.32000000000005,
TemperatureMin: 5.46,
DewPoint: 6.920000000000016,
UVIndex: 0.1,
WindDirection: 'WSW',
WindSpeed: 0.01,
WindSpeedMax: 1.55,
BatteryLevel: 85.79710144927535,
BatteryIsCharging: false,
WindSpeedLull: 0,
LightningStrikes: 0,
LightningAvgDistance: 0,
LightLevel: 4793,
TemperatureWetBulb: 8.285863945455644,
SkySensorBatteryLevel: 100,
SkySerialNumber: 'ST-000XXXXX',
SkyFirmware: 165,
AirSensorBatteryLevel: 100,
AirSerialNumber: 'AR-',
AirFirmware: '1.0',
LightLevelSensorFail: 0,
HumiditySensorFail: 0,
TemperatureSensorFail: 0
}
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting AirPressure to null
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting ConditionCategory to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting Humidity to 78.17
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting ObservationStation to ST-000XXXXX
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting ObservationTime to 16:31:14
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting Rain1h to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting RainBool to false
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting RainDay to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting SolarRadiation to 40
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting Temperature to 10.56
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting TemperatureMin to 5.46
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting UVIndex to 0.1
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting WindDirection to WSW
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting WindSpeed to 0.01
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting WindSpeedMax to 1.55
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting WindSpeedLull to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting LightningStrikes to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting LightningAvgDistance to 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting LightLevel to 4793
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting BatteryLevel to 85.79710144927535
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting BatteryIsCharging to false
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting DewPoint to 6.920000000000016
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting TemperatureApparent to 9.32000000000005
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Setting TemperatureWetBulb to 8.285863945455644
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Saving history entry
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] **Fakegato-timer: addData Weather {
time: 1705105877.401,
temp: 10.600000000000001,
pressure: null,
humidity: 78
} immediate: false
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting AirPressure: null
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting ConditionCategory: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting Humidity: 78.17
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting ObservationStation: ST-000XXXXX
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting ObservationTime: 16:31:14
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting Rain1h: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting RainBool: false
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting RainDay: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting SolarRadiation: 40
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting Temperature: 10.56
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting TemperatureMin: 5.46
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting UVIndex: 0.1
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting WindDirection: WSW
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting WindSpeed: 0.01
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting WindSpeedMax: 1.55
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting WindSpeedLull: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting LightningStrikes: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting LightningAvgDistance: 0
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting LightLevel: 4793
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting BatteryLevel: 85.79710144927535
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting BatteryIsCharging: false
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting DewPoint: 6.920000000000016
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting TemperatureApparent: 9.32000000000005
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Persisting TemperatureWetBulb: 8.285863945455644
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Server got: hub_status
[1/12/2024, 4:31:17 PM] [homebridge-weather-plus] Server got: hub_status
[1/12/2024, 4:31:18 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:18 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:21 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:21 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:24 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:24 PM] [homebridge-weather-plus] Server got: rapid_wind
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Server got: device_status
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Temperature Sensor Fail: 0, Humidity Sensor Fail: 0, Light Level Sensor Fail: 0
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Server got: obs_st
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] JSON Parse Exception: {"serial_number":"ST-000XXXXX","type":"obs_st","hub_sn":"HB-000XXXXX","obs":[[1705105884,0.00,0.18,1.00,236,3,null,10.55,78.20,4841,0.11,40,0.000000,0,0,0,2.703,1]],"firmware_revision":165} ReferenceError: accumulation is not defined
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Server got: device_status
I'm aware the Air Pressure is null — my air pressure sensor has failed and I'll eventually get a replacement. But I believe accumulation
is a rain readings thing.
from homebridge-weather-plus.
It does look to me, since rain has accumulated today, that the practical result of this bug is failure for rain accumulation to come through to HomeKit.
from homebridge-weather-plus.
I'm by no means well-informed about this style of JavaScript, but is it perhaps that line 27 of weatherflow.js
should be let accumulation =
instead of just accumulation =
?
from homebridge-weather-plus.
I suspect changing it to: var accumulation =
(not let as it is a variable, not a constant).
Though I don't know why it is an issue now.
from homebridge-weather-plus.
Can you file a separate bug to track reporting failed sensors.
Currently all I have is:
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Temperature Sensor Fail: 0, Humidity Sensor Fail: 0, Light Level Sensor Fail: 0
As I am only decoding those first 3, but the rest of the data for failure is there. I just don't decode it.
from homebridge-weather-plus.
I suspect changing it to:
var accumulation =
(not let as it is a variable, not a constant). Though I don't know why it is an issue now.
Sure, whichever makes sense for y'all. I didn't see it being modified, only set as a result of function call. I just meant it reads to me like the complaint is that the variable/constant is never explicitly defined.
Can you file a separate bug to track reporting failed sensors. Currently all I have is:
[1/12/2024, 4:31:25 PM] [homebridge-weather-plus] Temperature Sensor Fail: 0, Humidity Sensor Fail: 0, Light Level Sensor Fail: 0
As I am only decoding those first 3, but the rest of the data for failure is there. I just don't decode it.
Will do. Unfortunately (?) I've already set up my replacement Tempest so I have functioning pressure readings again.
from homebridge-weather-plus.
I suspect changing it to:
var accumulation =
(not let as it is a variable, not a constant). Though I don't know why it is an issue now.
Looking through old versions of the code, it was previously defined as var accumulation = 0.0;
and then incremented in a loop. v3.3.2 changed its first appearance to accumulation = converter.getRainAccumulated…
without a var
or let
.
from homebridge-weather-plus.
Found an additional error now that it has been raining for a while. There is code to handle the case that if several minutes pass between observations, then clear out the old data in the skipped minutes. This was also clearing the last minute, so each time it clicked over a minute, it would erase the last one. This is fixed by clearing just the minutes that are actually skipped, one passed the last recorded to the current minute.
I have pushed this change also to the same branch.
from homebridge-weather-plus.
Related Issues (20)
- Network event and crash HOT 1
- openweathermap set to metric only HOT 3
- [homebridge-weather-plus] Could not retreive weather report with API 3.0, trying API 2.5 now ... HOT 5
- UV index is always 0 HOT 7
- Sharing Wind Speed Hack HOT 1
- Remove support for DarkSky HOT 3
- Each sensor is named "Now" HOT 9
- Temperature data is merged when you have multiple weather stations HOT 1
- OpenWeatherMap nor forcast devices, data available in Browser HOT 3
- Cannot read properties of undefined (reading 'list') HOT 6
- Openweather map dew point and UV index HOT 10
- [Tempest Weatherflow] When station offline: 1) history repeats last measurement forever, 2) one warning per minute in log HOT 11
- [Weatherflow Tempest] Report additional failed sensors HOT 2
- Error retrieving weather report: undefined HOT 10
- thresholdCloudCover on openweathermap.org HOT 16
- Add Light Level history/graphing support HOT 4
- [Weatherflow Tempest] Bizarrely reporting 0ºC, even though the Tempest app does not HOT 40
- Unable to uninstall or update HOT 1
- Getting error "Could not retreive weather report with API 3.0, trying API 2.5 now" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-weather-plus.