Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
M

mrumpf

@mrumpf
About
Posts
10
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Broken gateway with local sensors on MQTT ESP8266 GW
    M mrumpf

    My current assumption is that there is a incompatibility with the BH1750 sensor library. When I set the symbols "LOCAL_SENSORS" and "LOCAL_SENSORS_BME280" it works. I will continue tomorrow evening...

    Troubleshooting

  • Broken gateway with local sensors on MQTT ESP8266 GW
    M mrumpf

    @tekka No, but I can do that...

    It works as well. Thanks again!

    Here is the code:

    // Before radio initialization
    void preHwInit() 
    {
      Serial.begin(57600);
      Serial.println("preHwInit()");
    
      Wire.begin(D3, D4);
      i2cdetect();
    
      Serial.println("Init: BME280 (Temperature, Humidity, Pressure)");
      if (!bme.begin(0x77)) {
        Serial.println("Could not find a valid BME280 sensor, check wiring!");
        while (1);
      }
    
      Serial.println("Init: BH1750 (Light)");
      lightSensor.begin();
    }
    

    setup() is empty.

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular