Navigation

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

    Posts made by mitekg

    • RE: nRF24LE1 full controller to control devices and sensors reading!!

      ESP8266 support
      http://homes-smart.ru/index.php/oborudovanie/bez-provodov-wi-fi

      posted in Hardware
      mitekg
      mitekg
    • RE: nRF24LE1 full controller to control devices and sensors reading!!

      @hek , is it possible to implement it in mysensor? may be like it was made with "433" sensors?

      posted in Hardware
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @hek , @Hoffan everything is work properly on master version!
      thank to ALL!

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @hek
      sorry!!
      Im stupid man! compiled 👍
      Continue testing!

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @hek
      test it twice!
      clean installation (unpack in new dir) of 1.5.6. + latest dev version from git.

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      1.5.7 + latest dev version
      lib,,...\EthernetGateway.ino
      Compilation, . error:

      Arduino: 1.5.7 (Windows 7), Board: "Arduino Nano, ATmega328"

      In file included from EthernetGateway.ino:57:0:
      GatewayUtil.h: In function 'void parseAndSend(MySensor, char*)':
      GatewayUtil.h:187:31: error: 'mSetRequestAck' was not declared in this scope
      mSetRequestAck(msg,ack?1:0);
      ^
      In file included from EthernetGateway.ino:53:0:
      C:\Users\Dima\Documents\Arduino\libraries\MySensors/MySensor.h:248:10: error: 'boolean MySensor::sendRoute(MyMessage&)' is protected
      boolean sendRoute(MyMessage &message);
      ^
      In file included from EthernetGateway.ino:57:0:
      GatewayUtil.h:193:26: error: within this context
      ok = gw.sendRoute(msg);
      ^

      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      thx! ill try today.
      And what about IDE 1.0.5. or 1.5.7?

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @Hoffan compilation success?
      Evrthing works?
      IDE version

      thx?

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @hek Yes, MySensors-library was replaced

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Upgrade Ethernet GW -> 1.4 (wiznet)

      @hek
      ive tried dev version. compilation error..

      posted in Troubleshooting
      mitekg
      mitekg
    • Upgrade Ethernet GW -> 1.4 (wiznet)

      After 1.4 release, i tryed ti upgrade my EthGW (Wiznet W5100) to 1.4 but got some problems
      latest version from git is not works for me (no blinks and eth communication with vera)
      but old dev version http://pastebin.com/6YFrs6HT works partly:
      blinks and inclusion starts and stops from vera interface (with old version), but no lib version and new devices shows in vera after that.
      p.s.: nrf communications works fine.

      Help plz.
      Thank you

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Trying to upgrade my Ethernet GW -> 1.4

      @Hoffan - wiznet

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Trying to upgrade my Ethernet GW -> 1.4

      add: blinks and inclusion starts and stops works fine (with old version), but no lib version and new devices in vera after that

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Trying to upgrade my Ethernet GW -> 1.4

      Hi, got some problems wth ethGW (wiznet + uno)
      latest version from git is not for me (no blinks and eth communication with vera)
      but old dev version http://pastebin.com/6YFrs6HT works fine. could someone help me plz.

      thx

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: Vera status not updating after 1.4 upgrade

      the same problem. transmission from sensor to gateway works. But i can not see any LED blinks when sensor sends a presentation.

      posted in Vera
      mitekg
      mitekg
    • RE: 1.4 Beta
      • The new MySensors Bootloader supporting Over-the-air sketch updates ("client"-side).
        • A simple NodeJs Controller to test the OTA stuff ("server"-side).
          Is any instructions, how to use this?
          thx.
      posted in Announcements
      mitekg
      mitekg
    • RE: 1.4 Beta

      @hek
      Could u plz help me
      getting in eth GW. Vera and Libs updated.

      **0;0;3;9;Arduino startup complete.
      0;0;3;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      0;0;3;9;version mismatch0;0;3;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      0;0;3;9;version mismatch0;0;3;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      0;0;3;9;version mismatch0;0;3;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      **

      posted in Announcements
      mitekg
      mitekg
    • RE: 1.4 Eth GW Error

      @hek Thx. will check today

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: trouble in ENC28J60 GW

      @Yveaux thx!

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: 1.4 Eth GW Error

      @gregl thank u!
      it works for me)

      so, my next trouble:
      0;0;3;9;check wires

      and no more reaction on eth request or via air (nrf)

      **check wires **- what does it mean?

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: trouble in ENC28J60 GW

      Hi, i need a consult
      whats the best and stable solution wiznet or enc?
      enc is not work for me (

      Thanks

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: 1.4 Eth GW Error

      @Yveaux Yep!

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: 1.4 Eth GW Error

      @Yveaux could u plz share a working eth gw code. After libraries/RF24 was removed a new err code:

      **EthVeraGW.ino:52:18: fatal error: RF24.h: No such file or directory
      compilation terminated.
      **

      posted in Troubleshooting
      mitekg
      mitekg
    • 1.4 Eth GW Error

      Try to migrate to 1.4.
      Where is my fault?
      Thanks!!
      *

      MySensors\utility\RF24.cpp.o: In function RF24::setChannel(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:16: multiple definition of RF24::csn(bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:16: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::maskIRQ(bool, bool, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:39: multiple definition of RF24::ce(bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:39: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::print_byte_register(char const*, unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:45: multiple definition of RF24::read_register(unsigned char, unsigned char*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:45: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::read_register(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:71: multiple definition of RF24::read_register(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:71: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::write_register(unsigned char, unsigned char const*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:90: multiple definition of RF24::write_register(unsigned char, unsigned char const*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:90: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::write_register(unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:116: multiple definition of RF24::write_register(unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:116: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::write_payload(void const*, unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:139: multiple definition of RF24::write_payload(void const*, unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:139: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::read_payload(void*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:187: multiple definition of RF24::read_payload(void*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:187: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::spiTrans(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:250: multiple definition of RF24::spiTrans(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:250: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::flush_rx()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:238: multiple definition of RF24::flush_rx()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:238: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::flush_tx()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:245: multiple definition of RF24::flush_tx()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:245: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::get_status()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:269: multiple definition of RF24::get_status()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:269: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::print_status(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:281: multiple definition of RF24::print_status(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:281: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::print_observe_tx(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:294: multiple definition of RF24::print_observe_tx(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:294: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::print_byte_register(char const*, unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:300: multiple definition of RF24::print_byte_register(char const*, unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:300: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::print_address_register(char const*, unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:311: multiple definition of RF24::print_address_register(char const*, unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:311: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::RF24(unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:331: multiple definition of RF24::RF24(unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:331: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::RF24(unsigned char, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:331: multiple definition of RF24::RF24(unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:331: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setChannel(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:341: multiple definition of RF24::setChannel(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:341: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setPayloadSize(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:353: multiple definition of RF24::setPayloadSize(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:353: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::getPayloadSize()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:361: multiple definition of RF24::getPayloadSize()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:361: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::stopListening()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:533: multiple definition of RF24::stopListening()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:533: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::powerDown()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:544: multiple definition of RF24::powerDown()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:544: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::powerUp()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:553: multiple definition of RF24::powerUp()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:553: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::startListening()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:511: multiple definition of RF24::startListening()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:511: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::reUseTX()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:624: multiple definition of RF24::reUseTX()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:624: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::startFastWrite(void const*, unsigned char, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:667: multiple definition of RF24::startFastWrite(void const*, unsigned char, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:667: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::writeBlocking(void const*, unsigned char, unsigned long)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:599: multiple definition of RF24::writeBlocking(void const*, unsigned char, unsigned long)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:599: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::writeFast(void const*, unsigned char, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:634: multiple definition of RF24::writeFast(void const*, unsigned char, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:634: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::writeFast(void const*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:657: multiple definition of RF24::writeFast(void const*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:657: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::startWrite(void const*, unsigned char, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:678: multiple definition of RF24::startWrite(void const*, unsigned char, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:678: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::write(void const*, unsigned char, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:572: multiple definition of RF24::write(void const*, unsigned char, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:572: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::write(void const*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:593: multiple definition of RF24::write(void const*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:593: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::txStandBy()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:691: multiple definition of RF24::txStandBy()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:691: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::txStandBy(unsigned long)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:706: multiple definition of RF24::txStandBy(unsigned long)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:706: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::maskIRQ(bool, bool, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:726: multiple definition of RF24::maskIRQ(bool, bool, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:726: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::getDynamicPayloadSize()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:734: multiple definition of RF24::getDynamicPayloadSize()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:734: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::available(unsigned char*)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:762: multiple definition of RF24::available(unsigned char*)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:762: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::available()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:756: multiple definition of RF24::available()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:756: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::read(void*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:784: multiple definition of RF24::read(void*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:784: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::whatHappened(bool&, bool&, bool&)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:797: multiple definition of RF24::whatHappened(bool&, bool&, bool&)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:797: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::openWritingPipe(unsigned long long)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:811: multiple definition of RF24::openWritingPipe(unsigned long long)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:811: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::openReadingPipe(unsigned char, unsigned long long)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:839: multiple definition of RF24::openReadingPipe(unsigned char, unsigned long long)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:839: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::closeReadingPipe(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:866: multiple definition of RF24::closeReadingPipe(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:866: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::toggle_features()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:874: multiple definition of RF24::toggle_features()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:874: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::enableDynamicPayloads()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:890: multiple definition of RF24::enableDynamicPayloads()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:890: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::enableAckPayload()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:911: multiple definition of RF24::enableAckPayload()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:911: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::enableDynamicAck()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:930: multiple definition of RF24::enableDynamicAck()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:930: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::writeAckPayload(unsigned char, void const*, unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:945: multiple definition of RF24::writeAckPayload(unsigned char, void const*, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:945: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::isAckPayloadAvailable()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:973: multiple definition of RF24::isAckPayloadAvailable()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:973: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::isPVariant()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:981: multiple definition of RF24::isPVariant()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:981: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setAutoAck(bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:987: multiple definition of RF24::setAutoAck(bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:987: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setAutoAck(unsigned char, bool)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:996: multiple definition of RF24::setAutoAck(unsigned char, bool)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:996: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::testCarrier()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1016: multiple definition of RF24::testCarrier()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1016: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::testRPD()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1023: multiple definition of RF24::testRPD()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1023: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setPALevel(unsigned char)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1029: multiple definition of RF24::setPALevel(unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1029: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::getPALevel()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1048: multiple definition of RF24::getPALevel()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1048: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setDataRate(rf24_datarate_e)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1054: multiple definition of RF24::setDataRate(rf24_datarate_e)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1054: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::getDataRate()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1103: multiple definition of RF24::getDataRate()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1103: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::setCRCLength(rf24_crclength_e)': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1128: multiple definition of RF24::setCRCLength(rf24_crclength_e)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1128: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::begin()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:433: multiple definition of RF24::begin()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:433: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::getCRCLength()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1153: multiple definition of RF24::getCRCLength()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1153: first defined here
      MySensors\utility\RF24.cpp.o: In function RF24::printDetails()': C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:401: multiple definition of RF24::printDetails()'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:401: first defined here
      MySensors\utility\RF24.cpp.o: In function `RF24::disableCRC()':

      C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1169: multiple definition of RF24::disableCRC()' RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1169: first defined here MySensors\utility\RF24.cpp.o: In function RF24::setRetries(unsigned char, unsigned char)':
      C:\Downloads\ardu\arduino-1.5.7\libraries\MySensors\utility/RF24.cpp:1177: multiple definition of `RF24::setRetries(unsigned char, unsigned char)'
      RF24\RF24.cpp.o:C:\Downloads\ardu\arduino-1.5.7\libraries\RF24/RF24.cpp:1177: first defined here
      collect2: error: ld returned 1 exit status

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: trouble in ENC28J60 GW

      the question was: how to solve the problem with eth gw..
      Eth GW is NOT work!

      posted in Troubleshooting
      mitekg
      mitekg
    • trouble in ENC28J60 GW

      HI! I have a trouble in ENC28J60 GW work!
      Everything is connected (I'm try to migrate from serial GW to Eth, because of instable work after Vera restart)

      SO.. After first start I try to request the Eth GW via browser and in serial monitor on PC a get:
      "
      0;0;4;11;Arduino startup complete.
      GET / HTTP/1.1
      Host: 192.168.1.13:5003
      xf-2.19
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      X-ClickOnceSupport: ( .NET CLR 3.5.30729; .NET4.0E)
      Connection: keep-alive
      1;255;0;18;1.3b3 (67f4ca1)

      ", only ONCE, and only after restart!

      After that I can't receive any msg-s from gateway, besides if run any sensor code (4 relay + 2 dimmers) in serial monitor on PC
      I can see:
      "
      1;255;4;7;0
      1;255;4;14;WatterNode
      1;255;4;15;1.0
      1;3;0;3;1.3b3 (67f4ca1)
      1;4;0;3;1.3b3 (67f4ca1)
      1;5;0;3;1.3b3 (67f4ca1)
      1;6;0;3;1.3b3 (67f4ca1)
      1;3;2;2;
      1;3;2;2;
      1;3;2;2;
      1;3;2;2;
      1;3;2;2;
      1;3;2;2;

      "
      So,
      1. ENC28J60 -works
      2. NRF24 - works
      BUT…

      Help plz! I can't understand

      posted in Troubleshooting
      mitekg
      mitekg
    • RE: RelayWithButtonActuator..what if Vera is offline?

      @hek
      did u try it on latest lib version?

      posted in General Discussion
      mitekg
      mitekg
    • RE: RelayWithButtonActuator..what if Vera is offline?

      thx, @hek

      i see, BUT
      gw.getStatus(RELAY_1+i, V_LIGHT); - return the real value in char.

      gw.getMessage() didnt return any message!
      so i cant set an initial state of relays!
      For me now working code is:
      // Request/wait for relay status
      int status = atoi(gw.getStatus(RELAY_1 + i, V_LIGHT));
      setRelayStatus(RELAY_1 + i, status);

      	//message_s message = gw.getMessage();
      	//setRelayStatus(message); // Wait here until status message arrive from gw
      posted in General Discussion
      mitekg
      mitekg
    • RE: RelayWithButtonActuator..what if Vera is offline?

      @hek ,
      in void setup(), there is:
      gw.getStatus(RELAY_1+i, V_LIGHT);
      setRelayStatus(gw.getMessage()); // Wait here until status message arrive from gw

      is it everiything ok here?
      As i understand getStatus, return a status, but "setRelayStatus" wait for a message.. and didn't get it..

      posted in General Discussion
      mitekg
      mitekg
    • RE: Interval/sleep sensor settings

      @hek, thx4fix!)
      @marceltrapman, if u have any questions, u r welcome)

      posted in Hardware
      mitekg
      mitekg
    • RE: Interval/sleep sensor settings

      here is my solution for dht-22 battery driven sensor:

        #include <Sleep_n0m1.h>
        #include <SPI.h>
        #include <EEPROM.h>  
        #include <RF24.h>
        #include <Sensor.h>  
        #include <DHT.h>  
        
        
        // Set RADIO_ID to something unique in your sensor network (1-254)
        // or set to AUTO if you want gw to assign a RADIO_ID for you.
        #define RADIO_ID AUTO
        #define CHILD_ID_HUM 0
        #define CHILD_ID_TEMP 1
        #define HUMIDITY_SENSOR_DIGITAL_PIN 3
        // Send the Battery Percentage to the Gateway
        
        #define VBatMax 4.0            // The voltage of New Batteries
        #define VBatDropout  2.0    // The battery dropout voltage
        
        unsigned long SLEEP_TIME = 30; // Sleep time between reads (in seconds)
        float SENSOR_TOLERANCE = 0.1; // Tempereture or humidity sensetive change +- 0.1 will not go to data transmit
        unsigned long SEND_FREQ = 1; // If the temperature doesn't change for this period, force data transition of battery level to reset TTL on vera gate. 1 = means send each time the sensor wake-up
        unsigned long SETTINGS_REQ_FREQ = 1; // How often node reqsts a new settings 1 = means req. each time the sensor wake-up. NOTE: Settings reqsts each time the sensor resets.
        int BATTERY_SENSE_PIN = A0;  // select the input pin for the battery sense point
        
        
        struct port_param_t{String name; String value;};
        #define MAX_PARAMS 20 // ������� ���������� ����������� �� ����� �������
        port_param_t params[MAX_PARAMS]; // � ���� ������ ����� ��������� ���� ��������� ���������
        byte parsedParams=0; // ������� ���������� ��� ������� ���������
        
        Sensor gw(9, 10);
        DHT dht;
        Sleep sleep;
        
        float lastTemp;
        float lastHum;
        float lastSend = 0;
        float lastReq = 0;
        float lastBattLevel;
        boolean metric = true; 
        
        void setup()  
        { 
          
          delay(2000);
          // use the 1.1 V internal reference
          analogReference(INTERNAL);
        
          Serial.begin(BAUD_RATE);  // Used to type in characters
          gw.begin(RADIO_ID);
          dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN); 
          gw.sendSketchInfo("Humidity", "1.2");
          // Register all sensors to gw (they will be created as child devices)
          gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);
          gw.sendSensorPresentation(CHILD_ID_TEMP, S_TEMP);
          
          metric = gw.isMetricSystem();
          
          veraCfgread();
          
        }
        
        void veraCfgread()
        {
        	char* defCfg="1,1,30,1"; 
        	char* Cfg = gw.getStatus(RADIO_ID, V_VAR1); // getting cfg
        	Serial.println("parsed:");
        	parseParams(Cfg);
        	if (parsedParams==0)
        		gw.sendVariable(RADIO_ID, V_VAR1, defCfg);
        	else
        	{
        		SENSOR_TOLERANCE = float(strtoint(params[0].value))/10;
        		SEND_FREQ = strtoint(params[1].value);
        		SLEEP_TIME = strtoint(params[2].value);
        		SETTINGS_REQ_FREQ = strtoint(params[3].value);
        	}
        	Serial.print(SENSOR_TOLERANCE);
        	Serial.print(",");
        	Serial.print(SEND_FREQ);
        	Serial.print(",");
        	Serial.print(SLEEP_TIME);
        	Serial.print(",");
        	Serial.print(SETTINGS_REQ_FREQ);
        	Serial.print(".");
        }
        
        // Read the Battery
        long readVcc() {
            long result;
            // Read 1.1V reference against AVcc
            ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
            delay(2); // Wait for Vref to settle
            ADCSRA |= _BV(ADSC); // Convert
            while (bit_is_set(ADCSRA,ADSC));
            result = ADCL;
            result |= ADCH<<8;
            result = 1125300L / result; // Back-calculate AVcc in mV
            return result;
        }
        
        
        int strtoint(String str) // ��������� ��������������� ������ � �����
        {
          int tempInt;
          char rez[str.length()+1];
          str.toCharArray(rez, sizeof(rez));
          tempInt = atoi(rez);
          return tempInt;
        }
        
        void parseParams(char* inputString)
        {
        	parsedParams=0; // ���� ������ �� ���������
        	String message = inputString;
        	int commaPosition;  // the position of the next comma in the string
        	do
        	{
              commaPosition = message.indexOf(',');
              if(commaPosition != -1)
              {
                  params[parsedParams].value = message.substring(0,commaPosition);
        		  parsedParams++;
                  message = message.substring(commaPosition+1, message.length());
              }
              else
              {  // here after the last comma is found
                 if(message.length() > 0)
                   params[parsedParams].value = message;  // if there is text after the last comma
              }
           }
           while(commaPosition >=0);
        }
        
        void loop()      
        {     
          lastSend--;
          lastReq--;
          // -1------------------------------------------
          delay(dht.getMinimumSamplingPeriod());
          float temperature = dht.getTemperature();
          if (isnan(temperature)) 
          {
              Serial.println("Failed reading temperature from DHT");
          } 
          else if (temperature != lastTemp || lastSend == 0)
        		{
        			Serial.print("TR: ");
        			Serial.println(temperature);
        
        			float delta = lastTemp - temperature;
        			delta = abs (delta);
        			if (delta > SENSOR_TOLERANCE || lastSend == 0)
        			{
        				lastTemp = temperature;
        				if (!metric) 
        					{
        						temperature = dht.toFahrenheit(temperature);
        					}
        				gw.sendVariable(CHILD_ID_TEMP, V_TEMP, temperature, 1);
        				Serial.print("T: ");
        				Serial.println(temperature);
        			}
        		}
          // -2------------------------------------------
        
          float humidity = dht.getHumidity();
          if (isnan(humidity)) 
          {
              Serial.println("Failed reading humidity from DHT");
          } 
          else if (humidity != lastHum || lastSend == 0) 
        	   {
        		   Serial.print("HR: ");
        		   Serial.println(humidity);
        		   float delta = lastHum - humidity;
        		   delta = abs (delta);
        		   if (delta > SENSOR_TOLERANCE || lastSend == 0)
        		   {
        			   lastHum = humidity;
          Serial.println(lastSend);
          if (lastSend <= 0)
        	  lastSend = SEND_FREQ; 
          Serial.print("LastSndAfter: ");
          Serial.println(lastSend);
        
          if (lastReq <= 0)
          {
        	  veraCfgread();
        	  lastReq = SETTINGS_REQ_FREQ;
          }
          // -3------------------------------------------
          long curVcc;// = readVcc();
          float pct;  // = (curVcc-(VBatDropout*1000)) /(((VBatMax-VBatDropout) *1000))*100;
          
          
          int sensorValue = analogRead(BATTERY_SENSE_PIN);
          float batteryV  = sensorValue * 0.003363075;
          int batteryPcnt = sensorValue / 10;
        
          curVcc = batteryV*1000;
          pct = batteryPcnt;
        
          if (pct != lastBattLevel)
          {
        	  lastBattLevel = pct;
        	  gw.sendBatteryLevel(pct);
        	  
        	  /*Serial.print("Batt%: ");
              Serial.println(pct);
        	  Serial.print("Vcc: ");
              Serial.println(batteryV);*/
        	  
        	  gw.sendVariable(RADIO_ID, V_VAR2, curVcc);
          }
          // -------------------------------------------
          // Power down the radio.  Note that the radio will get powered back up
          // on the next write() call.
          delay(1000); //delay to allow serial to fully print before sleep
          gw.powerDown();
          sleep.pwrDownMode(); //set sleep mode
          sleep.sleepDelay(SLEEP_TIME * 1000); //sleep for: sleepTime 
        }
        			   gw.sendVariable(CHILD_ID_HUM, V_HUM, humidity, 1);
        			   Serial.print("H: ");
        			   Serial.println(humidity);
        		   }
        	   }
          // -------------------------------------------
          Serial.print("LastSndBefore: ");
      posted in Hardware
      mitekg
      mitekg