TheThingSystem/steward

climate-temperature.svg has disappeared

Closed this issue · 8 comments

v1.10 is missing climate-temperature.svg.

or it never existed. Looking back at 1.07, the ds1820 uses https://192.168.1.107:8888/d3/actors/sensor-meteo.svg as an icon. Current filename is .../actors/climate-meteo.svg. Copying that file to climate-temperature.svg works for me. Not sure what was code is supposed to be mapping the device's self-description as a 'temperature' sensor into 'meteo'.

release_1.7...release_1.10 doesn't have anything that leaps out - the sensor-meteo.svg did get renamed to climate-meteo.svg ; but there's nothing obvious amount meteo->temperature

@RussNelson - i'm pretty sure that file got renamed to climate-meteo

can you remind me what the /device/... designation is for the ds1820 ? thanks!

{
    "path":"/api/v1/thing/reporting",
    "requestID":"REQUESTID",
    "things": {
        "/device/climate/1wire/temperature": {
            "prototype": {
                "device": {
                    "name": "DS1820",
                    "maker": "Dallas Semiconductor"},
                "name": "true",
                "status": ["present","absent","recent"],
                "properties": {
                    "temperature": "celsius"
                }
            },
            "instances": [
                {
                    "name": "NAME",
                    "status": "present",
                    "unit": {
                        "serial": "SERIAL",
                        "udn": "1wire:1WIRE"},
                    "info": {"temperature":TEMPERATURE}
                    }
                ]
            }
        }
    }

thanks. try this:

cp sandbox/d3/actors/climate-meteo.svg sandbox/d3/actors/climate-temperature.svg
cp sandbox/d3/popovers/assets/actors/climate-meteo.svg sandbox/d3/popovers/assets/actors/climate-temperature.svg

and see if that fixes it.

good luck!

That fixes it (it's what I already did).

thanks! please submit a PR with the copied files...

resolved via #269