Room thermostat prototype using MySensors and PJON with OLED, BME280 and Esp8266

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • Code: github.com/gry...

Комментарии • 32

  • @JJJonnyify
    @JJJonnyify 6 лет назад

    That is impressive, I am still in the beginning trying to understand how PJON works and how to connect with my MySensors nodes from which I want to replace most of the radios for SBB connections.

  • @ildark-e
    @ildark-e 4 года назад +2

    Thank you very much friend for the firmware source code!
    Didn't you do it for DHT11 or DHT22? Just for temperature? Does ThermoElectricValve.h need to be changed? Could you tell?
    Also tell me please how do you control the thermostat remotely?
    I see in the script that there is no remote control?
    Thanks.

    • @piechotam
      @piechotam  3 года назад +1

      Dht11 and 22 are toys. Not reliable at all. Bme280 is one of the best on the market.

  • @ei23de
    @ei23de 2 года назад +1

    Hey, this is great!
    What do you think about a PJON bus for home automation?

    • @piechotam
      @piechotam  2 года назад

      I use PJON to communicate All my hardwired smart home devices. I use MySensors with PJON as an communication layer. So far hundreds of devices and already over one year without any problems.

    • @ei23de
      @ei23de 2 года назад

      ​@@piechotam Pretty cool!
      Do you also use PJON based light switch controllers? I want to try if PJON can act as alternative to KNX. I think this could work well.
      How many wires do your hardwired devices use, is it just power, gnd and a data line, or can you go even one-wire bus (+gnd)?

    • @piechotam
      @piechotam  2 года назад

      @@ei23de You need at least 3 wires. Bacause I already have everywhere CAT5e/CAT7 cables, so I use blue pair for VCC, brown pair for GND, and Orange is PJON signal twisted with GND on Orange/White. Still having spare on Green pair. If I would use KNX cable, I would also use Red/Black for Power supply, and yellow for PJON and White for GND. PJON can reach bigger distance when using with twisted pair together with GND.

    • @ei23de
      @ei23de 2 года назад +2

      ​@@piechotam Thanks!
      I would love to see a video about your home installations with PJON and MySensors, I think this would be very popular video!

  • @iCe____
    @iCe____ 3 года назад +1

    dude which library did u use for oled? cos when i use pjon for oled ,oled is stopping

    • @piechotam
      @piechotam  3 года назад

      U8g2 eventually u8x8. Do you use arduino or esp? For OLED go for esp, because arduino is quite limited in resources. And it is i2c sh1106 oled

    • @iCe____
      @iCe____ 3 года назад +1

      @@piechotami use arduino(atmdga328pa) myfriend

    • @piechotam
      @piechotam  3 года назад

      @@iCe____ this could cause the problem, it has a very little amount of memory to handle OLED. Of course it could work, but you need to optimise it quite a lot... but you can try u8x8 library

    • @piechotam
      @piechotam  3 года назад

      @@iCe____ for best experiece with displays go for esp8266 and U8g2 library

    • @iCe____
      @iCe____ 3 года назад +1

      @@piechotam exactly my frien you are right, it didnt work , and then i optimised my code ,erased some important functions and then it worked. i saw it was about memory problem. i will try library you advised. my question is if the library you advised works with atmega328pa?

  • @qigao5458
    @qigao5458 4 года назад

    I am very interested to see the video you shared. Please share your code. Thank you very much.

  • @qigao5458
    @qigao5458 4 года назад +1

    Hello, friend, when can we see the code you shared?

    • @ildark-e
      @ildark-e 4 года назад

      Also waiting for your thermostat code, doing the same.

    • @piechotam
      @piechotam  4 года назад

      @@ildark-e github.com/gryzli133/MP_SmartThermostat

  • @qigao5458
    @qigao5458 4 года назад

    hi,What is your github address, I want to see the code you shared.

  • @rafapero4411
    @rafapero4411 4 года назад

    Hi Marek, Where can I find code for yours thermostat project? Display control looks really good.

    • @piechotam
      @piechotam  4 года назад +3

      Actually display is the only thing working until now... I will share the code on github later and paste the link in description. I would like to finish this project before winter, but too busy at the moment

    • @rafapero4411
      @rafapero4411 4 года назад +1

      @@piechotam I'm trying to build a similar thermostat with one relay for heating only which can be controlled through MQTT from Home Assistant or Domoticz. Free time is the biggest problem at the moment for me too.

  • @GiovanniBluMitolo
    @GiovanniBluMitolo 5 лет назад

    Ciao Marek! How went the tests with PJON?
    Nice build!

    • @piechotam
      @piechotam  5 лет назад

      Hi Giovanni, I'm still waiting for official support for PJON in MySensors. Do you know far is it at the moment?

    • @GiovanniBluMitolo
      @GiovanniBluMitolo 5 лет назад

      @@piechotam ciao, it was proposed twice in the pull requests, but the last was closed due to inactivity... would you help me to propose the change again and make it go through the review process? Here is the link: github.com/mysensors/MySensors/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+pjon

    • @GiovanniBluMitolo
      @GiovanniBluMitolo 5 лет назад

      @@piechotam for sure showing interest in PJON to the MySensors team would speed up the process!

    • @piechotam
      @piechotam  5 лет назад

      @@GiovanniBluMitolo Hi Giovanni, did I understand good, that PJON will be now included in MySensors? Is there anything open (license etc) or it is ready to go?

    • @GiovanniBluMitolo
      @GiovanniBluMitolo 5 лет назад

      @@piechotam Ciao Marek, the code in the pull-request seems ready to go although there is a license compatibility issue (MySensors GPLv2.0 -> PJON Apache v2.0) I have suggested them to switch to LGPLv3.0 which would solve the issue.