opendata-stuttgart / sensors-software

sourcecode for reading sensor data
573 stars 312 forks source link

Lokale Daten ohne Wifi #356

Open erniberni opened 5 years ago

erniberni commented 5 years ago

Wäre es möglich die Software so anzupassen, dass man den Sensor dauerhaft als Accesspoint betreibt und darüber die Daten "Aktuelle Werte" zumindest lokal anschauen kann. Ich sehe das als Anwending für einen mobilen Sensor, der nicht grundsätzlich ein WLAN haben wird.

ropeters68 commented 5 years ago

You can add a display, check out the faq on luftdaten.info.

jmberg commented 5 years ago

Wenn ich den Code richtig verstehe, sollte folgendes gehen: Setze "Dauer Routermodus" auf einen sehr grossen Wert (maximal wohl 2147483, gerunded 2^31/1000), dann musst du (bei dem genannten Wert) nur alle ca. 3 1/2 Wochen eine HTML-Seite aufrufen damit der Sensor quasi immer in "lokalem AP" Modus bleibt.

ricki-z commented 5 years ago

Setting "Duration router mode" doesn't work. Whil in this mode the sensor won't make any measurements. Adding a display is the prefered solution. Or you can disable the APIs (so the sensor won't try to send data to them) and connect the sensor to a smartphone or mobile hotspot. As you need a device to show the values this should be equal to the solution with the sensor as an hotspot.