Navigation

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

    Topics created by Reza

    • Reza

      problem in compile gateway for raspberry
      Troubleshooting • • Reza  

      3
      0
      Votes
      3
      Posts
      1037
      Views

      Reza

      sorry i found . spi was disable in now raspbian. but now i have problem in domoticz:
    • Reza

      I have great problem with raspberry and domoticz and mysensors gateway !
      Troubleshooting • • Reza  

      42
      0
      Votes
      42
      Posts
      9745
      Views

      Reza

      ok thank you. but i have a new problem... i think just move domoticz.log to ram driver. but report of sensors in mysensors... where these is save?:/ i think report of mysensors can not write... now in domoticz log i can not see report.. also i chack var/log memory after 1 day.when i send command for turn on light (alot command) memory of var/log increase.but 1 day i dont send any command and i wait for increase memory with report sensors but dont increase.what is problem? when i change your setting to defult work and i see report of sensors. and this is memory of log after one day. sensors was sending report to controller for 1 deys but before memory was 1304 and now is 1304...
    • Reza

      have not mysensors team any plans for add esp8266 ?
      General Discussion • • Reza  

      16
      1
      Votes
      16
      Posts
      2754
      Views

      dbemowsk

      Has anyone thought of using serial over ethernet? I would think that you could do that similar to having a straight serial connection. I do believe that ESPEasy supports serial over ethernet. I can check when I get home since that is what I am running on all of my Sonoffs. I am using a custom plugin on my Vera to run them, but I do have a couple spare Sonoffs that I could try a serial connection with. The only thing would be what GPIO pins are available on a Sonoff or other ESP8266 device to act as the serial side of the gateway.
    • Reza

      help to sketch. motion sensor with ack
      Development • • Reza  

      5
      0
      Votes
      5
      Posts
      2004
      Views

      Reza

      @gohan @scalz @Boots33 thanks my friends for help
    • Reza

      communicate is good for first time for relays and sensors but after some days will be weak and some time stop working !
      Troubleshooting • • Reza  

      30
      0
      Votes
      30
      Posts
      4263
      Views

      Reza

      @gohan yes . i change raspberrypi gateway to latest 2.2.0 beta
    • Reza

      help to build a RF315 transmitter with NRF and mysensors
      Development • • Reza  

      6
      0
      Votes
      6
      Posts
      1332
      Views

      Reza

      this is sketch of nrf node : #define MY_DEBUG #define MY_RADIO_NRF24 #define MY_RF24_CHANNEL 0 #define MY_REPEATER_FEATURE #define MY_NODE_ID 6 #define MY_RF24_PA_LEVEL RF24_PA_MAX #define MY_TRANSPORT_WAIT_READY_MS 10000 #include <SPI.h> #include <MySensors.h> #include <VirtualWire.h> int rx = 3; int tx = 4; bool stateA = false; bool stateB = false; #define CHILD_IDA 1 #define CHILD_IDB 2 MyMessage msgA(CHILD_IDA, V_STATUS ); MyMessage msgB(CHILD_IDB, V_STATUS ); void setup() { vw_set_rx_pin(rx); vw_set_tx_pin(tx); vw_set_ptt_inverted(true); vw_setup(2000); vw_rx_start(); send(msgA.set(false)); send(msgB.set(false)); } void presentation() { sendSketchInfo("RF315", "1.0"); present(CHILD_IDA, S_LIGHT); present(CHILD_IDB, S_LIGHT); } void loop() { uint8_t buf[VW_MAX_MESSAGE_LEN]; uint8_t buflen = VW_MAX_MESSAGE_LEN; if (vw_get_message(buf, &buflen)) { if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '1')) { send(msgA.set(true)); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '3') ) { send(msgA.set(false)); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '5') ) { send(msgB.set(true)); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '7') ) { send(msgB.set(false)); } else { for (int i = 0; i < 10; i++) buf [i] = ' ' ; } } } void receive(const MyMessage &message) { if (message.type == V_STATUS) { switch (message.sensor) { case 1: stateA = message.getBool(); if ( stateA == true) { send(msgA.set(false)); const char *msg = "100"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); } if (stateA == false) { send(msgA.set(true)); const char *msg = "102"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); } break; case 2: stateB = message.getBool(); if ( stateB == true) { send(msgB.set(false)); const char *msg = "104"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); } if (stateB == false) { send(msgB.set(true)); const char *msg = "106"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); } break; } } } and this is for receiver: #include <VirtualWire.h> int rx = 3; int tx = 4; int relay1 = 5; int relay2 = 6; int key1 = 7; int key2 = 8; void setup() { Serial.begin(115200); Serial.println("setup"); vw_set_rx_pin(rx); vw_set_tx_pin(tx); vw_set_ptt_inverted(true); vw_setup(2000); vw_rx_start(); pinMode(key1, INPUT_PULLUP); pinMode(key2, INPUT_PULLUP); pinMode(relay1, OUTPUT); pinMode(relay2, OUTPUT); digitalWrite(relay1, HIGH); digitalWrite(relay2, HIGH); } void loop() { uint8_t buf[VW_MAX_MESSAGE_LEN]; uint8_t buflen = VW_MAX_MESSAGE_LEN; if (vw_get_message(buf, &buflen)) { if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '0') ) { digitalWrite(relay1, LOW); delay(100); const char *msg = "101"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); delay(100); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '2')) { digitalWrite(relay1, HIGH); delay(100); const char *msg = "103"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); delay(100); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '4')) { digitalWrite(relay2, LOW); delay(100); const char *msg = "105"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); delay(100); } if ((buf[0] == '1') && (buf[1] == '0') && (buf[2] == '6')) { digitalWrite(relay2, HIGH); delay(100); const char *msg = "107"; vw_send((uint8_t *)msg, strlen(msg)); vw_wait_tx(); delay(100); } else { for (int i = 0; i < 10; i++) buf [i] = ' ' ; } } } this code was worked. but there is some problem that i can not found ! some code sent and some dont send. also some time for many time can not work just with reset or power off/on. @hek please tag some members and programmer here that they can repair this code. this code is very efficient... then you can use this sketch in site for RF 315 and 433 mhz device... this code can solve some problem about short range of NRF. we can define many child id that every child can control many device with RF315 or RF433. for example for more distance we can use this node. with 315mhz and long distance...
    • Reza

      why mysensors is based on nrf24?
      General Discussion • • Reza  

      65
      0
      Votes
      65
      Posts
      13878
      Views

      Reza

      @VaZso i see 0-85 channel and i see most is silent , but my controller and gateway is 1m distance with router (because controller connect with lan cable to router) anyway thank you. i think this is related to just chinese radio...
    • Reza

      just a experiences collecting( please all members share experiences and result)
      Development • • Reza  

      1
      0
      Votes
      1
      Posts
      449
      Views

      No one has replied

    • Reza

      [SOLVED] radio will connect to gateway with touch radio board with finger!!!
      Troubleshooting • • Reza  

      12
      0
      Votes
      12
      Posts
      2859
      Views

      Reza

      @DavidZH hi. Really ? I will test it . thank you
    • Reza

      help about simple roller shutter sketch
      Development • • Reza  

      1
      0
      Votes
      1
      Posts
      802
      Views

      No one has replied

    • Reza

      i need a change in transport serial gateway
      Development • • Reza  

      5
      0
      Votes
      5
      Posts
      2069
      Views

      Reza

      @Boots33 channel 0 and 76 that i use and test seem not busy and my problem is not related to this . as I said before . i think this is not related to my hardware because i use several . i test 5 model radio. also i test LED instead of relay but i have % of error (much). use power 5v 10A use radio adapter.use reglator .... but ... so i think best of solution is little change in library.do you think with decrease boud rate or increase number of resend or increase delay between command and ack can resolve this issue ?
    • Reza

      help for step by step wiring and configure a gateway with RS485 module and raspberry pi 3
      Troubleshooting • • Reza  

      10
      0
      Votes
      10
      Posts
      4454
      Views

      Reza

      Thank you friends
    • Reza

      please help , rs485 and NO REPLY error
      Troubleshooting • • Reza  

      8
      0
      Votes
      8
      Posts
      2103
      Views

      Reza

      i am testing this on 4 model of controller ! ( 2 raspberry - 1orangepi -1 laptop) i test with same arduino same wire same max485 module and same sketch and same usb serial cable
    • Reza

      light and relay turn on automatically !
      Troubleshooting • • Reza  

      12
      0
      Votes
      12
      Posts
      3290
      Views

      Reza

      @scalz very thank you
    • Reza

      Is the most of errors ( NACK , NO REPLAY , FAIL PDT) related to new library ?
      Troubleshooting • • Reza  

      11
      1
      Votes
      11
      Posts
      2220
      Views

      sundberg84

      @mpp delays between transmissions? Not sure what you mean - Sometimes I use wait() to get a more stable reading before sending it. RFM69 works great in MySensors - I have built a PCB which im testing at the moment with a standard pro mini, RFM69w and 2xAA and its looking good (it will run for months, maybe year!)
    • Reza

      what is related this error ?
      Troubleshooting • • Reza  

      11
      0
      Votes
      11
      Posts
      2047
      Views

      martinhjelmare

      @Reza You seem to be getting help with the same problem in the other thread, so I'll stop here.
    • Reza

      help about error in serial monitor
      Troubleshooting • • Reza  

      3
      0
      Votes
      3
      Posts
      556
      Views

      Reza

      @hek thank you dear hek
    • Reza

      i have problem in gas sensor
      Troubleshooting • • Reza  

      16
      0
      Votes
      16
      Posts
      5266
      Views

      zampedro

      @Reza sorry, I made a mistake. You have to check AOUT.
    • Reza

      problem about gas sensor
      Troubleshooting • • Reza  

      5
      0
      Votes
      5
      Posts
      1361
      Views

      Reza

      @zampedro thank you for answer . but i dont understand you. you say to me i must change sketch ? what change ? witch line? thank you
    • Reza

      i want information about repeater feature
      Development • • Reza  

      1
      0
      Votes
      1
      Posts
      468
      Views

      No one has replied

    • Reza

      sensors stop working after time
      Troubleshooting • • Reza  

      13
      0
      Votes
      13
      Posts
      3201
      Views

      Reza

      @alexsh1 so i think my problem is differnce with your problem , thank you
    • Reza

      roller shutter
      My Project • • Reza  

      5
      1
      Votes
      5
      Posts
      1651
      Views

      Reza

      @Qu3Uk said: @Reza Oh I understand that but with stop command you could quite quickly have the shutter fully open but the motors still running. Right? i dont test it yet but i think you right
    • Reza

      sensor is offline for long time !
      Domoticz • • Reza  

      3
      0
      Votes
      3
      Posts
      1180
      Views

      Anticimex

      https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help
    • Reza

      question about change frequency (channel) in WSN mysensors
      Development • • Reza  

      3
      0
      Votes
      3
      Posts
      1869
      Views

      Reza

      @scalz i'm so sorry again thannnnnnnnk you
    • Reza

      domoticz auto add device (mysensors) even if disable "Accept new Hardware Devices"
      Domoticz • • Reza  

      65
      0
      Votes
      65
      Posts
      18651
      Views

      Reza

      @pjr thank you, i am trying to learn signing for use
    • Reza

      lost serial gateway after un plug power Rpi
      Domoticz • • Reza  

      45
      0
      Votes
      45
      Posts
      13830
      Views

      peerkersezuuker

      Thank's for the answers to this problem. They didn't work for me, but i think i solved mine. Stop monitoring the serial port for data from a terminal session. See my post at Domoticz forum.
    • Reza

      some problem in sensor + repeater !
      Development • • Reza  

      15
      0
      Votes
      15
      Posts
      3262
      Views

      Reza

      @scalz so i test with wait thank you my friend
    • Reza

      setup ir sensor with domoticz !
      Development • • Reza  

      18
      0
      Votes
      18
      Posts
      12536
      Views

      Reza

      @hek ok thank you , sorry
    • Reza

      how add watchdog to my sensors?
      Development • • Reza  

      10
      0
      Votes
      10
      Posts
      4336
      Views

      Reza

      @Hermann-Kaiser ok .this is true . so where i add this ? after sleep(SLEEP_TIME); ??? also this is for radio ? is this right ? so for sensor and arduino !! there are not any function in mysensors?
    • Reza

      question about repeater node
      Development • • Reza  

      10
      0
      Votes
      10
      Posts
      4127
      Views

      Reza

      @sundberg84 thank you my friend
    • Reza

      connection problem between node and serial gateway
      Troubleshooting • • Reza  

      5
      0
      Votes
      5
      Posts
      1375
      Views

      Reza

      @boozz again thank you for help me i am beginner , so you mean one node is not a repeater now, but it can be ? a sensor and a repeater ! is this correct ? but i am beginner so i want know this is easy or hard ? ( convert a node to sensor + repeater !? about second problem , now i just test devices and they are in 1 meter with me (now without any wall) but some time disconnect between node and gateway . and dont any work Unless with unplug and plug in gateway or nodes ! i have test it once with vera edge (esp8266 gateway) and more once with comoticz (windows) ( serial gateway) in vera is better and most time i have disconnect when unplug vera ( esp8266 is connect with usb to my vera ) after power on vera for 1 hours or more my gateway dont work ! also some time ( little sometime ) Accidentally disconnect gateways with node , so unplug and plug in again (gateway and nodes) in "windows domoticz" is more happen . some time ( more time ) after send codes , i receive this error "Error sending switch command, check device/hardware !" is this better i use a 10 nF for radio ? i think problem is related to radio !
    • Reza

      I need a guidance :)
      General Discussion • • Reza  

      8
      0
      Votes
      8
      Posts
      1809
      Views

      Reza

      @Boots33 thank you very very much my dear friend
    • Reza

      are there a full smart home ( controller and app and devices) Made by mysensors team ? :)
      General Discussion • • Reza  

      4
      0
      Votes
      4
      Posts
      1302
      Views

      Reza

      @hek @TheoL i think if mysensors work Independent of any controller so this is better ! for example blynk service ! this is a interesting service
    • Reza

      what is policy of mysensors?
      General Discussion • • Reza  

      11
      0
      Votes
      11
      Posts
      1750
      Views

      Reza

      @TheoL thank you my dear TheoL
    • Reza

      Is Arduino is a good choice for mysensors ?
      Hardware • • Reza  

      5
      0
      Votes
      5
      Posts
      1189
      Views

      tbowmo

      @Reza Do you have some references to this noise issue? Any papers, etc that proves the theory
    • Reza

      ESP8266 MySensors Gateway stop working after sometime !!!
      Troubleshooting • • Reza  

      9
      0
      Votes
      9
      Posts
      2605
      Views

      AffordableTech

      One solution - refer to: [https://forum.mysensors.org/topic/3894/esp8266-unexpected-crash-or-reset](link url)
    • Reza

      problem in SoilMoistSensor
      Troubleshooting • • Reza  

      14
      0
      Votes
      14
      Posts
      2819
      Views

      BulldogLowell

      @Reza you should show the output of the Serial Monitor. There may be a variable overflowing...
    • Reza

      problem in gas sensor ! (MQ2)
      Troubleshooting • • Reza  

      5
      0
      Votes
      5
      Posts
      1746
      Views

      Reza

      @TheoL thank you my dear friend
    • Reza

      one question ! about interference wave !
      Vera • • Reza  

      12
      0
      Votes
      12
      Posts
      2775
      Views

      DavidZH

      A step up in price from the RTL-SDR you'd find the RF-explorer; price from $270. Hardware with display. Free (and also payed) software to get a better picture of the situation. sub-1GHz and 2.4 GHz in the same device. Not affiliated with the company, but I have used one and was pleasantly surprised
    • Reza

      security of wifi gateway is Guaranteed ?
      Vera • • Reza  

      1
      0
      Votes
      1
      Posts
      774
      Views

      No one has replied

    • Reza

      arduino promini 3.3V , out put digital.
      Hardware • • Reza  

      7
      0
      Votes
      7
      Posts
      3690
      Views

      Reza

      @Mike-Musskopf said: Hi @Reza , there's no need to increase the digital output voltage . You just need to have a 5V source somewhere and you can use a N-MOSFET to drive the relay. It would look like that: Just ignore the "INPUT" it should be an OUTPUT on the diagram above. Also the MOSFET needs to have a lower VGs and support the current required by your Relay. Something like that should do the trick: http://au.element14.com/on-semiconductor/ntr4501nt1g/n-channel-mosfet-20v-3-2a-sot/dp/1431305. Just avoid the common mosfets like BS170 and BS250 as they need some high voltage on the Gate to actually let the current flow. The datasheet will always have a few charts showing how much current the mosfet let flow for different VGSs. Cheers, Mike M. hi thank you
    • Reza

      What is the difference between arduino nano (FT232 chip) and arduino nano CH340 chip ?
      Troubleshooting • • Reza  

      11
      0
      Votes
      11
      Posts
      17200
      Views

      Reza

      @oscarc said: @Reza that is correct thank you
    • Reza

      Has anyone made a 2 or 4 channel relay , and is that worked correct ?
      Troubleshooting • • Reza  

      40
      0
      Votes
      40
      Posts
      9177
      Views

      TheoL

      @Reza Glad that I could help. I was just thinking. I've added a wait in between the presentation of the relays childs to the gateway. Maybe that made the difference. Anyway good luck and enjoy the greatness of MySensors and it's wonderful community.
    • Reza

      relay 2 or 4 or 8 channel ?!
      My Project • • Reza  

      9
      0
      Votes
      9
      Posts
      4236
      Views

      Reza

      @hek hi dear hek , this is very Attractive very very thank you
    • Reza

      my sensors and gateways will work with new versions vera firmware ?
      Vera • • Reza  

      4
      0
      Votes
      4
      Posts
      1546
      Views

      Reza

      @Ironbar , @korttoma and next versions ? will that correct ?
    • Reza

      request wiring and program of 8 channel relay
      Feature Requests • • Reza  

      3
      0
      Votes
      3
      Posts
      1463
      Views

      Reza

      @hek hi dear hek . can I use this for light ? 8 channel light? without use of lcd and..... . just one nrf and one arduino and one 8 channel relay ?
    • Reza

      lost serial port setting when unplug cable
      Vera • • Reza  

      3
      0
      Votes
      3
      Posts
      1396
      Views

      Reza

      @Kosika said: Got the same problem. Got everything working but after unplugging the cable to the gateway I can't get it working again. In devices it just says "Lua Startup Failure" on the my sensors plugin. Had this problem also when just installing the plugin but after some tries I could enter the serial port details, but now I just can't get it working hi i use a wifi gateway and that is true and dont have same problem
    • Reza

      unplug vera or gateway serial and failure gateway . . .
      Vera • • Reza  

      1
      0
      Votes
      1
      Posts
      776
      Views

      No one has replied

    • Reza

      problem in my motion sensor
      Troubleshooting • • Reza  

      6
      0
      Votes
      6
      Posts
      1524
      Views

      hek

      Need to see the debug output to be able to say what is wrong.
    • Reza

      I have some questions , thank you for help me <3
      Troubleshooting • • Reza  

      7
      0
      Votes
      7
      Posts
      1682
      Views

      Reza

      @AWI said: Sorry I don't know what you built.... ok thank you my friend
    • Reza

      help . power supply and add motion sensor to vera controller
      My Project • • Reza  

      7
      0
      Votes
      7
      Posts
      1923
      Views

      Reza

      @Dwalt hi my dear friend , please came on chat with me