Navigation

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

    pepson

    @pepson

    5
    Reputation
    257
    Posts
    1061
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    pepson Follow

    Best posts made by pepson

    • RE: 💬 Air Humidity Sensor - DHT

      sorry i found

      posted in Announcements
      pepson
      pepson
    • RE: 💬 MySensors Gateway for Raspberry PI

      @gohan
      You mean this
      https://www.openhardware.io/view/470/MySensors-Gateway-for-Raspberry-PI

      Install RFM69HW and then create the same for NRF24L01 on SPI1 ?

      posted in OpenHardware.io
      pepson
      pepson
    • RE: About DS18B20 onewire.

      @pepson ok fixed it 🙂

      posted in Hardware
      pepson
      pepson
    • RE: 💬 Building a Raspberry Pi Gateway

      Hello
      Thanks for your help. I start from beginning build DOmoticz on my RPi3 with clean latest image. After run in Sudo raspi-config i enable SPI and Serial , then install DOmoticz and now all works OK. Then build Mysensor Gateway and all is ok with no error in Domoticz. Works on /dev/ttyUSB42

      posted in Announcements
      pepson
      pepson
    • RE: 💬 Building a Raspberry Pi Gateway

      @mfalkvidd
      Yes write on forum Domoticz in section BUG

      posted in Announcements
      pepson
      pepson

    Latest posts made by pepson

    • How use mysensors to show in Home Assistant as LIGHT

      HI. I use this sketch to my lisght but in Home Assistant it show me it as SWITCH. Is any chance to change it in mysensors sketch to show in Home Assisnatnt as LIGHT ?

      https://github.com/lkankowski/arduino-multi-relay2

      posted in Home Assistant
      pepson
      pepson
    • RE: 💬 Building an Ethernet Gateway

      Hi
      I try building gateway on my Arduino Mega and i defined this:
      // Controller ip address. Enables client mode (default is "server" mode).
      // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
      #define MY_CONTROLLER_IP_ADDRESS 192, 168, 13, 252

      This is ip my Controller on RPI4 with installed Hassos(Home Assistant). But when it is defined i can not controll my relay on gateway. When delete this define all works ok and i can controll relay from home assistant. Please help me... I want define it to block controll only from one device in my network(controller automation Home Assistant).

      posted in Announcements
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      @tekka
      No.... thanks i fixed it....:)

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      Hi
      Can anybody help me how compile sketch to this gateway to work as Ethernet Gateway...
      When i try compile i get the error:
      https://pastebin.com/BSQGsCgi

      and my sketch looks like:
      https://pastebin.com/R3vG076i

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      please help me....

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      When try compilation with this W5100 i get error:

      Opcje projektu zmienione, przeładuj całość
      In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,

                   from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:74:1: error: 'EthernetServer' does not name a type

      EthernetServer _ethernetServer(_ethernetGatewayPort);

      ^~~~~~~~~~~~~~

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:89:8: error: 'EthernetClient' does not name a type

      static EthernetClient client = EthernetClient();

          ^~~~~~~~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportInit()':

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: error: 'Ethernet' was not declared in this scope

      if (!Ethernet.begin(_ethernetGatewayMAC)) {

         ^~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: note: suggested alternative: '_ethernetMsg'

      if (!Ethernet.begin(_ethernetGatewayMAC)) {

         ^~~~~~~~
      
         _ethernetMsg
      

      In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:49:0,

                   from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: error: 'Ethernet' was not declared in this scope

                  Ethernet.localIP()[0],
      
                  ^
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'

      #define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug

                                                  ^~~~~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'

      GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),

      ^~~~~~~~~~~~~

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: note: suggested alternative: '_ethernetMsg'

                  Ethernet.localIP()[0],
      
                  ^
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'

      #define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug

                                                  ^~~~~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'

      GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),

      ^~~~~~~~~~~~~

      In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,

                   from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: error: '_ethernetServer' was not declared in this scope

      _ethernetServer.begin();

      ^~~~~~~~~~~~~~~

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: note: suggested alternative: '_ethernetMsg'

      _ethernetServer.begin();

      ^~~~~~~~~~~~~~~

      _ethernetMsg

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportSend(MyMessage&)':

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: error: '_ethernetServer' was not declared in this scope

      nbytes = _ethernetServer.write(_ethernetMsg);

             ^~~~~~~~~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: note: suggested alternative: '_ethernetMsg'

      nbytes = _ethernetServer.write(_ethernetMsg);

             ^~~~~~~~~~~~~~~
      
             _ethernetMsg
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool _readFromClient()':

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: error: 'client' was not declared in this scope

      while (client.connected() && client.available()) {

           ^~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: note: suggested alternative: 'Print'

      while (client.connected() && client.available()) {

           ^~~~~~
      
           Print
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportAvailable()':

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:409:2: error: 'EthernetClient' was not declared in this scope

      EthernetClient newclient = _ethernetServer.available();

      ^~~~~~~~~~~~~~

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:411:6: error: 'newclient' was not declared in this scope

      if (newclient) {

        ^~~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: error: 'client' was not declared in this scope

      if (client != newclient) {

         ^~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: note: suggested alternative: 'Print'

      if (client != newclient) {

         ^~~~~~
      
         Print
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: error: 'client' was not declared in this scope

      if (client) {

        ^~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: note: suggested alternative: 'Print'

      if (client) {

        ^~~~~~
      
        Print
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'void gatewayTransportRenewIP()':

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: error: 'Ethernet' was not declared in this scope

      if (Ethernet.maintain() & ~(0x06)) {

        ^~~~~~~~
      

      C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: note: suggested alternative: '_ethernetMsg'

      if (Ethernet.maintain() & ~(0x06)) {

        ^~~~~~~~
      
        _ethernetMsg
      

      exit status 1
      Błąd kompilacji dla płytki Sensebender Gateway.

      What is a problem ?

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      And please help me how i can compile it as gateway Ethernet with module W5100.

      Only add to sketch:
      // Enable gateway ethernet module type
      #define MY_GATEWAY_W5100

      // Enable to UDP
      //#define MY_USE_UDP

      //#define MY_IP_ADDRESS 192,168,3,160 // wpisz adres ip bramki
      // Renewal period if using DHCP
      //#define MY_IP_RENEWAL_INTERVAL 60000
      // The port to keep open on node server mode / or port to contact in client mode
      #define MY_PORT 5003 //wpisz numer portu bramki

      // Controller ip address. Enables client mode (default is "server" mode).
      // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
      //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254

      // The MAC address can be anything you want but should be unique on your network.
      // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
      // Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address.
      #define MY_MAC_ADDRESS 0xDC, 0xAE, 0xB2, 0x3F, 0xFF, 0xDC

      ???

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Sensebender Gateway

      Hi
      I compiled and write to gateway this programmm. Then i connected it to my RPI with Hassio (Home Assistant). In logs on home assistant still show me info: Gateway /dev/serial/by-id/usb-MySensors.org_Sensebender_GW_6A153443514D355934202020FF10182D-if00 not ready after 15.0 secs so continuing with setup

      but after run Home Assistant gateway works ok. I send info mto developer Home Assistant ans she not see any bugs....
      How i can resolved this problem ?

      posted in OpenHardware.io
      pepson
      pepson
    • RE: 💬 Door, Window and Push-button Sensor

      @skywatch
      Yes but i dont know how do it.... 😞
      I dont know programing.

      posted in Announcements
      pepson
      pepson
    • RE: 💬 Door, Window and Push-button Sensor

      I need connect two contact sensor. And i want to know from two sensor his status...
      I need use one to door but second to door garage.

      posted in Announcements
      pepson
      pepson