Need some help to start....
-
hello @mfalkvidd : thanks for quick feedback.... I have read a lot till now... but have not find all off that what you have linked... so, many thanks for that links, I will now start to read and come back with further questions when I am ready with my first "lesson" ... :-)
-
OK, what I have understood till now is that 1. I do not need a controler like VEGA. 2. all Sensor can be done as described here: http://www.mysensors.org/download/sensor_api_15#create-repeating-nodes 3. all lamps and my "head-unit" should be done based on that one: http://www.mysensors.org/download/sensor_api_15#create-repeating-nodes
Am I right?
-
Hm.... So, if I am right- I has to make a plan and fix the adresses for each node... and everything else should be the same (?)
I do not want to control something-it all should run full automaticly- only color chould be changed via IR- remote if necessary... in the same it is working in my old version... do you like to see the old sketches based on manacbugs libary? to get an impression of what the system should do... -
I have now tested some examples... but get allways failure....
In file included from MotionSensor.ino:30:0:
/home/mark/sketchbook/libraries/MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’
MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
^
MotionSensor.ino:38:10: error: call to ‘MySensor::MySensor(MyTransport&, MyHw&)’ uses the default argument for parameter 2, which is not yet defined -
Hi Mark!
Which library do you run? Also upload the code so we can have a look.
Is it the normal motionsensor example? If so it looks like it cant find MySensors liberary.(Line 30): #include <MySensor.h>
Have you downloaded and installed the liberary? -
@mark76 If you dont get it to work i would reinstall the library: http://www.mysensors.org/about/arduino#installing-the-sensor-libraries
Im not sure - but since its that line where you include mysensors it believe it cant find the lib. -
I have now tried to re-install lib 3x.... I am stumbeling a little bit, cause I have allready a libraries folder and have copied all folders from MySensors- library folder to that folder... cause my understanding is that all libraries should be in the same folder....
-
That sounds right. When you open arduino ide do you find MySensors under the example menu?
-
Hi!
Any luck @mark76 ? Only difference from me is that you run 1.6.7 arduino IDE... but that shouldnt make the errors... Can you post a code/screeshot of all the error? (Complete log). -
If nothing else works you could try download another version and try... but i doubt it.
-
One question regarding that issue.... Do I have to tell the Sketch that I am working with nrf24? That library is very big and it is not easy to get an overview what library is doing in the backround.... But from my point of view I should define the Radio I use... (?)