logo elektroda
logo elektroda
X
logo elektroda

D1 Mini: Connecting 4 DS18B20 Sensors for Browser Temperature Monitoring

maroo78 1233 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18216041
    maroo78
    Level 9  
    Welcome.

    I have acquired a D1 mini and I would like to first connect 4 DS18B20 sensors to the board - the indications and be able to read them in any browser at home. Here 3 options I want to try: simply be an app, cloud that is peeking in the browser, version with Blynk and version with Supla.

    I have a problem - I've never had any contact with this kind of device, I don't know programming languages (my contact with programming languages is high school and before that C64 ;D) I've connected, I've managed to upload a program with flashing diode - and that's it. I have ESP_A85FBD visible but it doesn't work, is it from this contraption? I installed ESP WiFi and ESPWebServer, uploaded the program to control the relay and now it's silent, when I reset it blinks once.

    I can't find simple instructions: board states, steps necessary for WiFi to work - described for a total layman. From what I can find on the web it is either a fragment of some problem or a thrown phrase and immediately another topic. Do I have to program the module differently each time for Supel, Blynk? Is it possible to program the DS18B20 sensor board in such a way that I can take readings via Blynk as well as Supla or Domoticz without reprogramming?

    I must admit that I feel defeated - I have chaos because I have read, surfed the net and rather messed up my head. So, a simple tutorial in steps of what would work and how. Ultimately I want to put a server on an RPi down the line, there I would like to integrate WiFi, 433MHz hardware and control the whole thing remotely.

    Greetings
    Marcin
  • ADVERTISEMENT
  • #2 18216111
    Korteks
    Level 10  
    maroo78 wrote:
    Tomorrow I want to set up a server on the RPi, there I would like to integrate WiFi, 433MHz hardware and control the whole thing remotely.
    .
    If the end goal is to have an RPi then do on it and not an ESP or other Arduino, because that's different to RPi. In RPi you have a system (Linux/Debian) in Arduino nothing, in ESP RTOS. It's a completely different philosophy of writing programs than on Linux.
  • ADVERTISEMENT
  • #3 18216791
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #4 18256944
    maroo78
    Level 9  
    Ok, it's been a while though I haven't had much opportunity to try and act. But here's the thing - I've uploaded the WiFi standalone, then played around with Blynk and got a temperature reading from the sensor, I can also use the widget to control the brightness of the LED on the board, I've already understood more or less what and how, and I've already set the direction - Blynk + RPi in the near future to bypass the limitations of Blynk, and I don't need to operate from the network, plus something like HTTP Request with shortcuts to control defined elements also from outside Blynk. I'm planning to monitor the heating + control a few light points and the hardest part - roller shutters. And here I see a wall for the time being as I have the roller shutters controlled with a variable code in the Keeloq system, will it be possible to find and program something that the roller shutters will accept? Difficult. I also have a Broadlink for 433MHz control, sockets, lights, soon the entrance gate. Will it be possible to compose a D1 with a Boadlink? Both in total operate on the same WiFi, the question is whether D1 can be programmed to trigger specific Broadlink actions. Why yes? Well, for the ESP I would have to load 433MHz transmitters and receivers and I have the Broadlink - so it would be a shame not to use it, especially as it has sufficient radio for my whole property - no problem with coverage.
  • ADVERTISEMENT
  • #5 18257079
    Anonymous
    Level 1  
  • #6 18260817
    maroo78
    Level 9  
    The model is a Bradlink RM Pro+. Theoretically a lot is possible, but how to practically embrace the subject? Has anyone already combined like this? I would be spared the particular problem of 433MHz transmitters, range, ease of programming further devices. After all, RM Plugin Lite allows you to read the details of the codes so if such a combination doesn't work, I'll use 2 solutions in parallel.
ADVERTISEMENT