NEWS
Adapter: DasWetter
-
@Negalein
Dann probier doch mal mein o.g. Script aus.
Natürlich vorher anpassen. -
Dann probier doch mal mein o.g. Script aus.
Natürlich vorher anpassen.ich check nix mehr.
Script angepasst
// Wettersymbole benutzen createState('0_userdata.0.Wetter.WeatherSymbol1', ''); createState('0_userdata.0.Wetter.WeatherSymbol2', ''); createState('0_userdata.0.Wetter.WeatherSymbol3', ''); createState('0_userdata.0.Wetter.WeatherSymbol4', ''); createState('0_userdata.0.Wetter.WeatherSymbol5', ''); on("daswetter.0.location_1.ForecastDaily.Day_1.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol1', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_2.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol2', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_3.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol3', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_4.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol4', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_5.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol5', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); });Aber er schreibt nichts in die DP

Der Pfad passt auch

-
Dann probier doch mal mein o.g. Script aus.
Natürlich vorher anpassen.ich check nix mehr.
Script angepasst
// Wettersymbole benutzen createState('0_userdata.0.Wetter.WeatherSymbol1', ''); createState('0_userdata.0.Wetter.WeatherSymbol2', ''); createState('0_userdata.0.Wetter.WeatherSymbol3', ''); createState('0_userdata.0.Wetter.WeatherSymbol4', ''); createState('0_userdata.0.Wetter.WeatherSymbol5', ''); on("daswetter.0.location_1.ForecastDaily.Day_1.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol1', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_2.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol2', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_3.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol3', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_4.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol4', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); }); on("daswetter.0.location_1.ForecastDaily.Day_5.symbol", function(obj) { setState('0_userdata.0.Wetter.WeatherSymbol5', '/vis.0/Wettericons/WetterIcons/' + parseInt(obj.state.val) + '.png' ); });Aber er schreibt nichts in die DP

Der Pfad passt auch

@Negalein
Das Script läuft doch erst wenn sich die DP ändern.

Einfach mal ändern und probieren.
Bei mir sind dies alle befüllt:

-
komischerweise funktioniert es jetzt, obwohl ich alles mögliche vorher schon versucht habe (Ordner groß/klein, jpg/png, Adapter down-/upgrade, mit/ohne IP, ...).
@Negalein
Na, dann schreib doch mal die aktuelle Lösung.
Damit andere das nachvollziehen können, wie es bei dir jetzt geklappt hat. -
@Negalein
Na, dann schreib doch mal die aktuelle Lösung.
Damit andere das nachvollziehen können, wie es bei dir jetzt geklappt hat. -
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login





