Sign inSign up

fed4iot/v-weather-tv

By fed4iot

•Updated almost 6 years ago

Docker image of IoT Thing Visor that visualizes weather sensors in cities you want

Image
0

2.6K

fed4iot/v-weather-tv repository overview

⁠Image description

This sensor ThingVisor provides current temperature, humidity and pressure in a custom list of cities. Data source: openweathermap.org⁠

⁠How to add this hypervisor to fed4iot system

Create newThingVisor by using fed4iot-master-controller /addThingVisor HTTP API with the following settings. The API also create several virtual things ready to use (for each city will be created one virtual thing for temperature, one for pressure and one for humidity). The list of cities must be provided in the params key of the request body (see the following example)

  • method: POST

  • headers:

{
	"Accept": "application/json",
	"Content-Type": "application/json",
	"cache-control": "no-cache"
}
  • body:
{
    "description": "this virtual thing Visor provides current temperature, humidity and pressure of the cities specified in params",
    "thingVisorID": "vWeather",
    "imageName": "fed4iot/v-weather-tv",
    "params": {'cities':['Rome', 'Tokyo']},
    "debug_mode" : false
}

Tag summary

Content type

Image

Digest

Size

75.4 MB

Last updated

almost 6 years ago

docker pull fed4iot/v-weather-tv