Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // when I received temperature my function looks like this
- void onReceivedWeatherTemperature(){
- WeatherTemperature = Homey.value.toFloat();
- Serial.println("weather temperature " + String(WeatherTemperature));
- }
- // but when I received Description of the weather I get string, right? But Homey.value.toString(); doesn't work.
- void onReceivedWeatherDescription(){
- weatherDescription = Homey.value.toString();
- Serial.printf("weather description " + String(weatherDescription));
- }
Add Comment
Please, Sign In to add comment