Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. tlustoch
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    tlustoch

    @tlustoch

    4
    Reputation
    22
    Posts
    695
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    tlustoch Follow

    Best posts made by tlustoch

    • RE: 💬 Touch Display Scene Controller

      @mfalkvidd
      See http://nailbuster.com/?page_id=341
      resp. https://www.mysensors.org/build/esp8266_gateway
      As far as I know SPI pins MOSI, MISO, SCK may be shared, just CS must be independent for each device (we need 3 CS - display, touch screen and radio ) so we will use just 6 data pins.
      Of course further testing is needed (my hw not arrived yet so I cannot do it now).

      On the other hand, radio may be omitted as the scene controller may be attached over WiFi. Moreover, running esp8266 + TFT display on batteries is not too practical.
      Thus, radio is no needed unless we want to use scene controller as a gateway.

      posted in Announcements
      tlustoch
      tlustoch
    • RE: 💬 Very narrow and minimal switch node

      @GertSanders
      have you considered https://www.mysensors.org/about/ota MYSBootloader? It is announced to work without flash.

      posted in OpenHardware.io
      tlustoch
      tlustoch
    • RE: [SOLVED] Multiple source files & including MySensors.h problem

      @user2684 Yes, that is the solution. Thanks a lot!

      posted in Troubleshooting
      tlustoch
      tlustoch

    Latest posts made by tlustoch

    • RE: 💬 OpenTherm Adapter

      I am working on the analogous project.
      For several years I am using hw interface https://github.com/HynekBaran/OpenThermGWMini connecting the boiler and Arduino+NRF24L01 (which acts as a MySensors actuator).
      BUT: My boiler supports OpenTherm/Light (OT/-) protocol only. As far as I know, hw ("electric") specs of OT- are same as OT+ (2.0).
      So may be the simple OpenThermGWMini hw may be used, but there is missing MySensors sw part.

      See the original circuit diagram

      Maybe we may share?

      posted in OpenHardware.io
      tlustoch
      tlustoch
    • RE: [SOLVED] Multiple source files & including MySensors.h problem

      @user2684 Yes, that is the solution. Thanks a lot!

      posted in Troubleshooting
      tlustoch
      tlustoch
    • [SOLVED] Multiple source files & including MySensors.h problem

      Hi,
      I am trying to create a sketch with multiple source files (to keep my own classes definitions out of main sketch file), but I am not able to include MySensors.h.

      Lets consider the following GatewayESP8266 example (4 files) for NodeMCU 0.9 board:

      I have the main sketch file GatewayESP8266.ino

      // GatewayESP8266.ino
      ...
      #include "myownconfig.h"
      #include <MySensors.h>
      ...
      

      MySensor config file myownconfig.h

      // myownconfig.h
      #ifndef MYOWNCONFIG_H
      #define MYOWNCONFIG_H
      // Enable debug prints to serial monitor
      #define MY_DEBUG
      ...
      #endif
      

      and my test class header and source files test.cpp and test.h

      // test.cpp
      #include "test.h"
      
      // test.h
      #ifndef TEST_H
      #define TEST_H
      
      #include "myownconfig.h"
      #include <MySensors.h>
      
      class Test {
         MyMessage &message;
        };
      #endif
      

      Compiling (board NodeMCU 0.9) gives a bunch of errors:
      sketch/test.cpp.o: In function `__gdb_do_break': /Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MyGatewayTransport.cpp:69: multiple definition of `g_cont' sketch/GatewayESP8266.ino.cpp.o:/Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MySensorsCore.h:428: first defined here sketch/test.cpp.o: In function `__gdb_do_break': /Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MyGatewayTransport.cpp:69: multiple definition of `_ethernetServer' sketch/GatewayESP8266.ino.cpp.o:/Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MySensorsCore.h:428: first defined here sketch/test.cpp.o: In function `hwInit()': /Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MyGatewayTransport.cpp:69: multiple definition of `hwInit()' sketch/GatewayESP8266.ino.cpp.o:/Users/hynekbaran/Documents/Arduino-ESP/libraries/MySensors/core/MyHwESP8266.cpp:24: first defined here sketch/test.cpp.o: ... collect2: error: ld returned 1 exit status exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module).
      The same problem appears with ArduinoPro DimmableLigth test project.

      Thanks for help!

      posted in Troubleshooting
      tlustoch
      tlustoch
    • RE: MYSBootloader 1.3pre2 testing

      Please, can you provide source code? I need to configure radio pins (default MySensors CE and CS pins 9 and 10 are PWM so I need to connect the radio in other way). Thanks a lot!

      posted in Development
      tlustoch
      tlustoch
    • RE: ATtiny supported?

      @Nca78
      DimmableLight example with disabled serial console is 5,742 bytes, RelayActuator 5,464 bytes.

      posted in Hardware
      tlustoch
      tlustoch
    • RE: ATtiny supported?

      It seems that it is possible: https://www.hackster.io/arjun/nrf24l01-with-attiny85-3-pins-74a1f2 but mysensors library has to support it?

      posted in Hardware
      tlustoch
      tlustoch
    • RE: ATtiny supported?

      Any progress? I like to build simple low-power temperature sensor based on attiny85 but cannot compile mysensors sketch if attiny85 set as a processor 😞

      posted in Hardware
      tlustoch
      tlustoch
    • RE: 💬 Touch Display Scene Controller

      @mfalkvidd
      See http://nailbuster.com/?page_id=341
      resp. https://www.mysensors.org/build/esp8266_gateway
      As far as I know SPI pins MOSI, MISO, SCK may be shared, just CS must be independent for each device (we need 3 CS - display, touch screen and radio ) so we will use just 6 data pins.
      Of course further testing is needed (my hw not arrived yet so I cannot do it now).

      On the other hand, radio may be omitted as the scene controller may be attached over WiFi. Moreover, running esp8266 + TFT display on batteries is not too practical.
      Thus, radio is no needed unless we want to use scene controller as a gateway.

      posted in Announcements
      tlustoch
      tlustoch
    • RE: 💬 Touch Display Scene Controller

      Is there a simple way how to port it to ESP 8266?

      posted in Announcements
      tlustoch
      tlustoch
    • RE: 💬 FOTA (Wireless Programming)

      There is an ambiguity in documetation of MYSBootloader:

      1. On https://www.mysensors.org/download/sensor_api_20#configuration there is a Note: "You can still have OTA FW updates without external flash but it requires the MYSBootloader and disabled MY_OTA_FIRMWARE_FEATURE"
      2. Above on https://www.mysensors.org/about/ota#enabling-ota-in-your-sketch there is written: "To enable OTA in your sketch, you need to add #define MY_OTA_FIRMWARE_FEATURE"
        So, in the case of MYSBootloader (no external flash), what is correct (I suppose 2)?

      Two additional questions:
      Where is located MYSBootloader for MySensors 2.0?
      Is it usable with 8MHz internal clock config?

      Thanks for answer(s)

      posted in Announcements
      tlustoch
      tlustoch