Skip to content
  • 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
  1. Home
  2. OpenHardware.io
  3. 💬 Sensebender Gateway
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 Sensebender Gateway

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsgatewaysamd
382 Posts 59 Posters 151.2k Views 53 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dklinkman
    wrote on last edited by dklinkman
    #350

    @dklinkman said in 💬 Sensebender Gateway:

    Sensebender

    And I got a Sensebender Micro soldered up and running also!! Just temp and humid so far. Too cool

    --edit-- picture

    0_1517282246688_20180129_215848.jpg

    1 Reply Last reply
    0
    • SoloamS Offline
      SoloamS Offline
      Soloam
      Hardware Contributor
      wrote on last edited by
      #351
      This post is deleted!
      1 Reply Last reply
      0
      • 8 Offline
        8 Offline
        8667
        wrote on last edited by
        #352

        Is it possible to use the sensebender board as MQTT gateway? Not Ethernet?

        1 Reply Last reply
        0
        • SoloamS Offline
          SoloamS Offline
          Soloam
          Hardware Contributor
          wrote on last edited by
          #353

          Yes it is! I use I'm using it as a MQTT gateway for some time

          1 Reply Last reply
          1
          • C Offline
            C Offline
            Christian Schulte genannt Trux
            wrote on last edited by
            #354

            First: Great work! My GW is working very well!
            I wanted to know for what I can use the SD-Card.
            My idea is to fetch the logs in the serial and write them to the SD-Card.
            But I don't know where. Is there a point in the mySensors core where I can fetch all logs?

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rolandow
              wrote on last edited by
              #355

              Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

              alexsh1A 1 Reply Last reply
              0
              • R rolandow

                Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

                alexsh1A Offline
                alexsh1A Offline
                alexsh1
                wrote on last edited by
                #356

                @rolandow said in 💬 Sensebender Gateway:

                Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?

                Sesnebender GW can be ordered from Itead:

                https://www.itead.cc/mysensors-gateway.html

                Other openhardware.io projects maybe ordered either (1) directly from a link; pcb only (2) you can download eagle files and upload them to pcb manufactures like oshpark.com (3) you can purchase the final product. So a generic answer to your question is it depends :)

                I do not think there is a guide here, but if you go to oshpark.com there is a guide how to order a pcb. Parts (BOM) can be ordered from Aliexpress, eBay or more reputable supplies like digi-key or mouser

                1 Reply Last reply
                1
                • G Offline
                  G Offline
                  Gerator
                  wrote on last edited by
                  #357

                  Hi!
                  I'm trying to use sensebender GW as ethernet gateway. I loaded the stock W5100 sketch compiled with samd 1.6.21 defs but it didn't worked. I have been trying out different things and realized that it works with 1.6.12 defs. Now it's working but I'm stuck with an old version. Anyone with the same problem? Maybe I'm missing something?
                  Also I found out ethernet library in 1.0.5 defs is outdated. I have been trying to use stock one (v2.0) without success. Anyone has tried?
                  Thanks.

                  1 Reply Last reply
                  0
                  • pepsonP Offline
                    pepsonP Offline
                    pepson
                    wrote on last edited by
                    #358

                    hi
                    when i try compile sketch only with change radio to rfm69hw i have this:
                    Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                    SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                          ^
                    

                    SensebenderGatewaySerial:95:36: error: 'LED_RED' was not declared in this scope

                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                    ^
                    

                    SensebenderGatewaySerial:95:45: error: 'LED_GREEN' was not declared in this scope

                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                             ^
                    

                    SensebenderGatewaySerial:95:56: error: 'LED_YELLOW' was not declared in this scope

                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                        ^
                    

                    SensebenderGatewaySerial:95:68: error: 'LED_ORANGE' was not declared in this scope

                    static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                    ^
                    

                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'void preHwInit()':

                    SensebenderGatewaySerial:116:10: error: 'MY_SWC1' was not declared in this scope

                    pinMode(MY_SWC1, INPUT_PULLUP);

                          ^
                    

                    SensebenderGatewaySerial:117:10: error: 'MY_SWC2' was not declared in this scope

                    pinMode(MY_SWC2, INPUT_PULLUP);

                          ^
                    

                    SensebenderGatewaySerial:130:17: error: 'LED_BLUE' was not declared in this scope

                    digitalWrite(LED_BLUE, led_state);
                    
                                 ^
                    

                    SensebenderGatewaySerial:145:16: error: 'LED_GREEN' was not declared in this scope

                    digitalWrite(LED_GREEN, HIGH);

                                ^
                    

                    SensebenderGatewaySerial:149:16: error: 'LED_YELLOW' was not declared in this scope

                    digitalWrite(LED_YELLOW, HIGH);

                                ^
                    

                    SensebenderGatewaySerial:154:16: error: 'LED_ORANGE' was not declared in this scope

                    digitalWrite(LED_ORANGE, HIGH);

                                ^
                    

                    SensebenderGatewaySerial:167:17: error: 'LED_RED' was not declared in this scope

                    digitalWrite(LED_RED, HIGH);
                    
                                 ^
                    

                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testSDCard()':

                    SensebenderGatewaySerial:219:33: error: 'MY_SDCARD_CS' was not declared in this scope

                    if (!card.init(SPI_HALF_SPEED, MY_SDCARD_CS)) {

                                                 ^
                    

                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testEEProm()':

                    SensebenderGatewaySerial:249:2: error: 'SerialUSB' was not declared in this scope

                    SerialUSB.print(" -> EEPROM ");

                    ^

                    C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testAnalog()':

                    SensebenderGatewaySerial:267:30: error: 'MY_BAT_DETECT' was not declared in this scope

                    int bat_detect = analogRead(MY_BAT_DETECT);

                                              ^
                    

                    exit status 1
                    'LED_BLUE' was not declared in this scope

                    What is error ? please help me

                    magpernM 1 Reply Last reply
                    0
                    • pepsonP Offline
                      pepsonP Offline
                      pepson
                      wrote on last edited by
                      #359

                      I also can not install board in Arduino IDE 1.8.9

                      1 Reply Last reply
                      0
                      • pepsonP Offline
                        pepsonP Offline
                        pepson
                        wrote on last edited by
                        #360

                        please help
                        https://forum.mysensors.org/topic/10548/solved-sensbender-gateway-gives-a-lot-of-hu/2

                        1 Reply Last reply
                        0
                        • pepsonP pepson

                          hi
                          when i try compile sketch only with change radio to rfm69hw i have this:
                          Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                          SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                ^
                          

                          SensebenderGatewaySerial:95:36: error: 'LED_RED' was not declared in this scope

                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                          ^
                          

                          SensebenderGatewaySerial:95:45: error: 'LED_GREEN' was not declared in this scope

                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                   ^
                          

                          SensebenderGatewaySerial:95:56: error: 'LED_YELLOW' was not declared in this scope

                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                              ^
                          

                          SensebenderGatewaySerial:95:68: error: 'LED_ORANGE' was not declared in this scope

                          static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

                                                                                          ^
                          

                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'void preHwInit()':

                          SensebenderGatewaySerial:116:10: error: 'MY_SWC1' was not declared in this scope

                          pinMode(MY_SWC1, INPUT_PULLUP);

                                ^
                          

                          SensebenderGatewaySerial:117:10: error: 'MY_SWC2' was not declared in this scope

                          pinMode(MY_SWC2, INPUT_PULLUP);

                                ^
                          

                          SensebenderGatewaySerial:130:17: error: 'LED_BLUE' was not declared in this scope

                          digitalWrite(LED_BLUE, led_state);
                          
                                       ^
                          

                          SensebenderGatewaySerial:145:16: error: 'LED_GREEN' was not declared in this scope

                          digitalWrite(LED_GREEN, HIGH);

                                      ^
                          

                          SensebenderGatewaySerial:149:16: error: 'LED_YELLOW' was not declared in this scope

                          digitalWrite(LED_YELLOW, HIGH);

                                      ^
                          

                          SensebenderGatewaySerial:154:16: error: 'LED_ORANGE' was not declared in this scope

                          digitalWrite(LED_ORANGE, HIGH);

                                      ^
                          

                          SensebenderGatewaySerial:167:17: error: 'LED_RED' was not declared in this scope

                          digitalWrite(LED_RED, HIGH);
                          
                                       ^
                          

                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testSDCard()':

                          SensebenderGatewaySerial:219:33: error: 'MY_SDCARD_CS' was not declared in this scope

                          if (!card.init(SPI_HALF_SPEED, MY_SDCARD_CS)) {

                                                       ^
                          

                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testEEProm()':

                          SensebenderGatewaySerial:249:2: error: 'SerialUSB' was not declared in this scope

                          SerialUSB.print(" -> EEPROM ");

                          ^

                          C:\Users\Piotrek\Desktop\SensebenderGatewaySerial-sketch\SensebenderGatewaySerial\SensebenderGatewaySerial.ino: In function 'bool testAnalog()':

                          SensebenderGatewaySerial:267:30: error: 'MY_BAT_DETECT' was not declared in this scope

                          int bat_detect = analogRead(MY_BAT_DETECT);

                                                    ^
                          

                          exit status 1
                          'LED_BLUE' was not declared in this scope

                          What is error ? please help me

                          magpernM Offline
                          magpernM Offline
                          magpern
                          wrote on last edited by magpern
                          #361

                          @pepson said in 💬 Sensebender Gateway:

                          hi
                          when i try compile sketch only with change radio to rfm69hw i have this:
                          Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                          SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                          You cannot use the SensebenderGatewaySerial sketch on an Atmega2560. The SensbenderGatewaySerial sketch is for the SAMD board called Sensebender Gateway.

                          If you have the real Sensebender Gateway you should use this one
                          0_1564697307746_8465ebd2-b844-48b0-9efa-e8aa2cbec9d8-image.png

                          pepsonP 1 Reply Last reply
                          0
                          • magpernM magpern

                            @pepson said in 💬 Sensebender Gateway:

                            hi
                            when i try compile sketch only with change radio to rfm69hw i have this:
                            Arduino:1.8.9 (Windows 10), Płytka:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

                            SensebenderGatewaySerial:95:26: error: 'LED_BLUE' was not declared in this scope

                            You cannot use the SensebenderGatewaySerial sketch on an Atmega2560. The SensbenderGatewaySerial sketch is for the SAMD board called Sensebender Gateway.

                            If you have the real Sensebender Gateway you should use this one
                            0_1564697307746_8465ebd2-b844-48b0-9efa-e8aa2cbec9d8-image.png

                            pepsonP Offline
                            pepsonP Offline
                            pepson
                            wrote on last edited by
                            #362

                            @magpern
                            But get this board to Arduino IDE?

                            magpernM 1 Reply Last reply
                            0
                            • pepsonP pepson

                              @magpern
                              But get this board to Arduino IDE?

                              magpernM Offline
                              magpernM Offline
                              magpern
                              wrote on last edited by
                              #363

                              @pepson said in 💬 Sensebender Gateway:

                              @magpern
                              But get this board to Arduino IDE?

                              Boards / Boards manager...
                              search for sensebender
                              0_1564700611126_700dbdb9-bc5b-45be-9c89-3b23a7004ea3-image.png

                              You might have to

                              File / Preferences / Additional Board manager URLs
                              add
                              https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json

                              1 Reply Last reply
                              2
                              • pepsonP Offline
                                pepsonP Offline
                                pepson
                                wrote on last edited by
                                #364

                                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 ?

                                1 Reply Last reply
                                0
                                • pepsonP Offline
                                  pepsonP Offline
                                  pepson
                                  wrote on last edited by pepson
                                  #365

                                  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

                                  ???

                                  1 Reply Last reply
                                  0
                                  • pepsonP Offline
                                    pepsonP Offline
                                    pepson
                                    wrote on last edited by
                                    #366

                                    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 ?

                                    1 Reply Last reply
                                    0
                                    • pepsonP Offline
                                      pepsonP Offline
                                      pepson
                                      wrote on last edited by
                                      #367

                                      please help me....

                                      1 Reply Last reply
                                      0
                                      • pepsonP Offline
                                        pepsonP Offline
                                        pepson
                                        wrote on last edited by
                                        #368

                                        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

                                        tekkaT 1 Reply Last reply
                                        0
                                        • pepsonP pepson

                                          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

                                          tekkaT Offline
                                          tekkaT Offline
                                          tekka
                                          Admin
                                          wrote on last edited by
                                          #369

                                          @pepson Did you add

                                          #include <Ethernet.h>
                                          

                                          ?

                                          pepsonP 1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

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