@Talat-KeleΕ
Hi, I am having an issue compiling the sketch and was wondering if you had any input or could help me out, This is what I get back when I try to compile;
Posts made by ramoncarranza
-
RE: π¬ Infrared Sender and Receiver
-
RE: π¬ Light Level Sensor - LM393
@hek what extra code do I need to add to the sketch so tha it sends the tripped value to my gateway?
-
RE: π¬ Light Level Sensor - LM393
@hek
int soundDetectedPin = 10; // Use Pin 10 as our Input
int soundDetectedVal = HIGH; // This is where we record our Sound Measurement
boolean bAlarm = false;unsigned long lastSoundDetectTime; // Record the time that we measured a sound
int soundAlarmTime = 500; // Number of milli seconds to keep the sound alarm high
void setup ()
{
Serial.begin(9600);
pinMode (soundDetectedPin, INPUT) ; // input from the Sound Detection Module
}
void loop ()
{
soundDetectedVal = digitalRead (soundDetectedPin) ; // read the sound alarm timeif (soundDetectedVal == LOW) // If we hear a sound
{lastSoundDetectTime = millis(); // record the time of the sound alarm // The following is so you don't scroll on the output screen if (!bAlarm){ Serial.println("LOUD, LOUD"); bAlarm = true; }
}
else
{
if( (millis()-lastSoundDetectTime) > soundAlarmTime && bAlarm){
Serial.println("quiet");
bAlarm = false;
}
} -
RE: π¬ Light Level Sensor - LM393
@hek I found this sketch, but how do I incorporate it to my sensors library and serial gateway?
-
RE: π¬ Light Level Sensor - LM393
@hek hi, I've been searching to see if I can find anything on th LM393 Sound sensor, I know I saw one but can't find it, looking to build a simple soundsensor with the LM393 unit.
-
RE: How to build a repeater
no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???
-
RE: How to build a repeater
@stingone yep all you have to do is upload it to your radio set-up and that's it, but you do waste a board and a radio unit, but in MY case is well worth it.
-
RE: UI5 Mysensors library 2.0 gateway issues
@hek said:
senile
are the the sensors/nodes awake at all times by default? -
RE: UI5 Mysensors library 2.0 gateway issues
thanks so much, I am becoming a pro at this, one day YOU will come to me for questions lol.
-
RE: How to build a repeater
@scalz Thanks so much I was looking for something like this as well, thanks again
-
RE: How to build a repeater
@stingone hi, the mysensor master library comes with an example file to create a "RepeaterNode" I've built 4 of them using an Arduino nano and a radio module ( https://www.mysensors.org/build/connect_radio) they work very well for me.
-
RE: UI5 Mysensors library 2.0 gateway issues
@hek hi, how can I activate repeater mode on a particular sensor?, I've had to build 2 repeating nodes so far to be able to reach a couple of my sensors. I am adding more sensors as we speak and and they are getting farther and farther, I know I will need a ton of repeaters, but I hate to waste a radio and an Arduino board just for repeaters.
Thanks -
RE: π¬ Air Humidity Sensor - DHT
@mikeS Thanks so much for your reply, it's working perfectly now.
-
RE: UI5 Mysensors library 2.0 gateway issues
@hek I got my sensors working now. The radio unit on the GW was defective, so I swapped it out and things are working fine, just need to change the readings on my DHT from C to F, how would I do that?
-
RE: π¬ Air Humidity Sensor - DHT
@hek
hi, how do I change the readings from C to F?
My sensor works fine, by I get the readings I celsius -
RE: UI5 Mysensors library 2.0 gateway issues
@hek hi, this is what the Motion Sensor Log displays:
-
RE: UI5 Mysensors library 2.0 gateway issues
Example
"This example uses the external DTH library found here. Please install it and restart the Arduino IDE before trying to compile."if you click the "here", that's what downloads
-
RE: UI5 Mysensors library 2.0 gateway issues
include "DHT.h"
DHT dht;
void setup()
{
Serial.begin(9600);
Serial.println();
Serial.println("Status\tHumidity (%)\tTemperature (C)\t(F)");dht.setup(2); // data pin 2
}void loop()
{
delay(dht.getMinimumSamplingPeriod());float humidity = dht.getHumidity();
float temperature = dht.getTemperature();Serial.print(dht.getStatusString());
Serial.print("\t");
Serial.print(humidity, 1);
Serial.print("\t\t");
Serial.print(temperature, 1);
Serial.print("\t\t");
Serial.println(dht.toFahrenheit(temperature), 1);
} -
RE: UI5 Mysensors library 2.0 gateway issues
@hek ok, I plugged in the Motion Sensor to check the Serial log and nothing came up. I opened the sketch on wordpad and noticed that there is no entry on Baud rate whatsoever (I no nothing about code so I don't know if that means anything).
in regards to my other Sensor which is a Temp/Humidity Sensor, the sketch is not on my Library it was not included on the downloaded Zip file, so I downloaded it from here:
https://www.mysensors.org/build/humidity
but the downloaded copy does not have any entry for the radio and the baud rate is set 9600 so that's why the Gateway cant communicate with them,,I think.
-
RE: UI5 Mysensors library 2.0 gateway issues
should I wire up a new radio, should I wire up a complete gateway with radio (or both)?
-
RE: UI5 Mysensors library 2.0 gateway issues
after switching to 115200 baud, the following poped up:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.0.0
0;255;3;0;9;No registration required
0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1no changed occurred when wireless sensor was re-started
-
RE: UI5 Mysensors library 2.0 gateway issues
@hek ok the serial monitor comes up blank, with this in the upper left corner:
"1Γyô¹¹q0"
nothing happens after the wireless sensor is powered.....
-
RE: UI5 Mysensors library 2.0 gateway issues
yes the wireless sensor with radio, not the Gateway. The gateway is plugged in on the Vera's USB port. Ok will do.
Thanks -
RE: UI5 Mysensors library 2.0 gateway issues
Yes, I start by having the sensor unplugged, that right after the Start button is pressed I plug in the sensor. One thing I noticed though, is that if I go to the LUUP files and try to "view" them, som of them display the folling message:
This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.but if I download the same LUUP file and open it in Notepad the file is there
-
RE: UI5 Mysensors library 2.0 gateway issues
hi, I am using UI5. After pressing the Start button it indicates that "0 devices found"
-
RE: UI5 Mysensors library 2.0 gateway issues
@BartE
Hi, my plugin still shows version 1.5 even though I am using Version 2.0, I have not been able to include a single sensor. I have created 3 of them and not one can be found by the Plugin after the Inclusion button is pressed, any input would be greatly appreciated. -
RE: Orange Pi Zero H2
@hek
wow!! you can get those?!!! If you come across a Flux Capacitor hit me up -
RE: Veralite Gateway Issues
@BartE
Sorry Bart somehow I posted this as a topic instead of a reply but here is the threadhttps://forum.mysensors.org/topic/4387/ui5-mysensors-library-2-0-gateway-issues/7
-
RE: UI5 Mysensors library 2.0 gateway issues
Hi, I have the same issue. I installed the plugin and serial Gateway with no apparent issues, but can't add any sensors. I have triple-checked the wiring on the sensors and gateway with no success. One thing I have notice some of the Arduino LUUP Files on Vera display the following message when you open/view them.
This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error. -
Veralite Gateway Issues
Hi, I have the same issue. I installed the plugin and serial Gateway with no apparent issues, but can't add any sensors. I have triple-checked the wiring on the sensors and gateway with no success. One thing I have notice some of the Arduino LUUP Files on Vera display the following message when you open/view them.
This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error. -
RE: Orange Pi Zero H2
@hek just want you to send you the link as you seem to be a busy individual
thanks -
RE: Orange Pi Zero H2
@hek
Hey buddy I need your help again with this:https://forum.mysensors.org/topic/5265/window-blinds
Thanks
-
RE: Vera Arduino Plugin
@4Crawler
Was not aware of this module, most likely will need it is as well. I am looking to motorize my existing blinds, We have a ton of blinds at my place and would like to automate a portion of them.
Thanks -
RE: Vera Arduino Plugin
@4Crawler
Hi, do you have any experience with this:https://forum.mysensors.org/topic/5265/window-blinds
Thanks
-
Window Blinds
Hi there, I was wondering if any one can help me out with a wiring diagram and code to automate by window blinds using my Veralite Controller. I have no issues with the mechanical aspects of the project. I have seen numerous projects of people doing this, but most are just either too fancy or too complicated. here is a diagram of what I am looking for more or less.
I do not need the Kill Switch, The photocell, or The IR Sensor. All I need is to be able to manually open, and/or close the blinds with a push of a button or to do the same thing with my cellphone or Vera scene controllers. I will be willing to pay for it.
Thanks so much -
RE: Vera Arduino Plugin
@4Crawler Thank you very much, your video is VERY helpful for Vera users, as I did not realize that the Arduino with the FTDI board was a must, and I had already purchased a different type, so I went ahead and got the right one, sucks because I was exited to build my gateway, now I have to wait a a week or longer since most of this stuff comes from China, but you saved me a ton of headaches had I not watched your video. Question I have though, can I still use the Arduino Nano with the CH340G board for my sensors since I already have a dozen of them?
Thanks again
Thanks -
RE: π¬ Building a WiFi Gateway using ESP8266
Thanks so much!!
This thing's Amazing!!!!!!
-
RE: π¬ Building a WiFi Gateway using ESP8266
@hek I got it already, I was confused on the Vera Plugin vs the Arduino Plugin not realizing they were both the same, but now I get the following message on Vera
"MySensors plugin : Choose the Serial Port"
"MySensors Plugin[105] : Running Lua Startup"I have yet to assemble the Serial Gateway though, so I'm assuming the messages will go away once the Gateway is installed??????
Thanks
-
RE: π¬ Building a WiFi Gateway using ESP8266
@hek Hi, I am new to arduino but not to Vera, have been using Veralite for a few years, I wuould like to know how to add the Serial Gateway to Vera, I find it very confusing, it would be ideal if a video was created or step by step instructions for newbees like me, I will be more than happy to donate via paypal, Thanks so much
reply
-
RE: Vera Arduino Plugin
@ramoncarranza said:
Hi, I am new to arduino but not to Vera, have been using Veralite for a few years, I to wuould like to know how to add the gate to Vera, I find it very confusing, it would be ideal if a video was created r step by step instructions, I will be more than happy to donate via paypal, Thanks so much
reply
-
RE: Vera Arduino Plugin
@Burtonian
Hi, I am new to arduino but not to Vera, have been using Veralite for a few years, I to wuould like to know how to add the gate to Vera, I find it very confusing, it would be ideal if a video was created r step by step instructions, I will be more than happy to donate via paypal, Thanks so much