current Weather form .json file



  • How can I get the temperature and humidity form a .json file. The file is under the adress http://myIP/weather.json has this data:

    {
    “os selected”: {
    “inside”: “0”,
    “outside”: “1”
    },
    “internal”: {
    “temperature”: “25.4”
    },
    “channel1”: {
    “temperature”: “2.4”,
    “humidity”: “46” },
    “channel2”: {
    “temperature”: “”,
    “humidity”: “”
    },
    “channel3”: {
    “temperature”: “”,
    “humidity”: “”
    },
    “channel4”: {
    “temperature”: “”,
    “humidity”: “”
    },

    I can’t find am module for this, does anyone have a solution to my Problem?



  • Maybe this one ?



  • Great, thanks, I will try to read the data and then present it correctly. I would like to take the presentation of MMM-FHEM for it.



  • @Gasoman

    next Problem, wenn the MagicMirror started it shows “Error fetching stats.” It display then the komplet string. What can I do?