senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. Datenübertragung auf die openSenseMap

Datenübertragung auf die openSenseMap

Sensors
WIFI
ESPNOW
Ethernet
SD
LED
LED Matrix
Display
openSenseMap
LoRa
Aktivierung
Lora Message
TTN Mapper
Cayenne LPP
Bluetooth
Phyphox
Webserver
MQTT
Logic
Loops
Text
Time
Time control
RTC
NTP
Math
Audio
Variables
Functions
Advanced
Serial
Input/Output
Motors
Watchdog
Connect to WifiNetworkname Password Temperature/Humidity Sensor (HDC1080)Value:Temperature in Â°C â–¾Temperature/Humidity Sensor (HDC1080)Value:humidity in % â–¾Airpressure/Temperature Sensor (DPS310)Value:Airpressure in hPa â–¾Light Visible + UVValue:Illuminance in Lux â–¾Light Visible + UVValue:UV-Light in ÂµW/cm² â–¾Fine Particular SensorValue:PM2.5 â–¾in Âµg/m³ atSerial1 â–¾Fine Particular SensorValue:PM2.5 â–¾in Âµg/m³ atSerial1 â–¾Soil Moisture and Temperature (SMT50)Port:A â–¾Value:Temperature in Â°C â–¾Soil Moisture and Temperature (SMT50)Port:A â–¾Value:Soil Moisture â–¾Send measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cSend measurement to openSenseMapPhänomen619e207a38aa6f001be9799cConnect to openSenseMapSSL✓Restart device if disconnected?✓TypeStationary â–¾senseBox ID619e207a38aa6f001be9799bAPI Key30e2321766b263dcc9b53a9a4e47b48a0682d9d9f4a25f16…SensorsInterval: Interval10000msArduino run first:Arduino loop forever:
1113000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixType10110110001000000000101197011100110022010090
{ }
Arduino Source Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by senseBox Blockly on Wed May 28 2025 07:56:30 GMT+0000 (Coordinated Universal Time)
#include <WiFi101.h>
#include <Adafruit_HDC1000.h> // http://librarymanager/All#Adafruit_HDC1000_Library
#include <Adafruit_DPS310.h> // http://librarymanager/All#Adafruit_DPS310
#include <LTR329.h>
#include <Wire.h>
#include <VEML6070.h>
#include <SdsDustSensor.h> // http://librarymanager/All#Nova_Fitness_Sds_dust_sensors_library
#include <ArduinoBearSSL.h>
#include <ArduinoECCX08.h>
char ssid[] = "";
char pass[] = "";
int status = WL_IDLE_STATUS;
const long intervalInterval = 10000;
long time_startInterval = 0;
long time_actualInterval = 0;
Adafruit_HDC1000 hdc = Adafruit_HDC1000();
const char SENSOR_ID99C[] PROGMEM = "619e207a38aa6f001be9799c";
Adafruit_DPS310 dps;
bool lightsensortype = 0; //0 for tsl - 1 for ltr
//settings for LTR sensor
LTR329 LTR;
<>
XML Blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<xml xmlns="https://developers.google.com/blockly/xml" board="null">
  <block type="arduino_functions" id="QWW|$jB8+*EL;}|#uA" deletable="false" x="83" y="90">
    <statement name="SETUP_FUNC">
      <block type="sensebox_wifi" id="}gKsnl}HKifB?H9ZqufF">
        <field name="SSID"></field>
        <field name="Password"></field>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="sensebox_interval_timer" id="GC3kYJyW[$20/48try)m">
        <field name="name">Interval</field>
        <field name="interval">10000</field>
        <statement name="DO">
          <block type="sensebox_osem_connection" id="[X^QTF+uJRoZ{imi}QZ3">
            <field name="SSL">TRUE</field>
            <field name="RESTART">TRUE</field>
            <field name="type">Stationary</field>
            <field name="BoxID">619e207a38aa6f001be9799b</field>
            <field name="access_token">30e2321766b263dcc9b53a9a4e47b48a0682d9d9f4a25f16519c67b390fe114b</field>
            <statement name="DO">
              <block type="sensebox_send_to_osem" id="DNe-|%NrlZ1+E,xp1lKI">
                <field name="SensorID">619e207a38aa6f001be9799c</field>
                <value name="Value">
                  <block type="sensebox_sensor_temp_hum" id="u2CRA;[VbX.WO4d%Vlq)">
                    <field name="NAME">Temperature</field>
                    <data>[object Object]</data>
                  </block>
                </value>
                <next>
                  <block type="sensebox_send_to_osem" id=";3^)MaA2zvwh[lbvMmE_">
                    <field name="SensorID">619e207a38aa6f001be9799c</field>

Information about the Block

Select a Block to show the hint

This website uses cookies to enhance the user experience.
Impressum

|

Privacy

|

News

|

sensebox.de
Menu
    Blockly
    Tutorials
    Gallery
    Code Editor

    Login
    FAQ
    Settings

Which board are you using?

senseBox MCU

senseBox MCU-S2

senseBox MCU:mini

Here you can access the old blockly Version for the Arduino UNO or the senseBox MCU