Managed to find out a solution by myself.
removed the three #define NO_PORTx_PINCHANGES
removed the #include <PinChangeInt.h>
changed PCintPort::attachInterrupt(pinInclusion, startInclusionInterrupt, RISING); to
attachInterrupt(1, startInclusionInterrupt, RISING);
Now I am able to use the Seeedstudip GPRS shield pins 7 and 8 with SoftwareSerial.
One last thing I'd like to clarify after re-reading my previous post.
The correct send string I entered in the terminal is without trailing ";" - like it was supposed before. As mentioned, the problem has been the BAUD rate of 156k with 8MHz crystal..
So the correct command which will change the PWM -Dimmer level on node 3 to 50% is:
3;0;1;0;3;50\n
Hi. It's long time .. but standard function is : gw.processRadioMessage();
and I make changes in source code in MyGateway.cpp to this :
char MyGateway::processRadioMessage() {
char isMessage=0;
if (process()) {
// A new message was received from one of the sensors
isMessage=1;
MyMessage message = getLastMessage();
if (mGetCommand(message) == C_PRESENTATION && inclusionMode) {
rxBlink(3);
} else {
rxBlink(1);
}
// Pass along the message from sensors to serial line
serial(message);
}
checkButtonTriggeredInclusion();
checkInclusionFinished();
return isMessage;
}
But in new library is not file MyGateway.cpp .. then I don't now ..
using is :
if (gw.processRadioMessage()==1) {..}
regards..
there is possible make easy gateway .. controler .. to control only light for example.. then we don't need external controller .. etc..
@billgoolsby the gateway could probably be called event-driven but that's not why there is no need for additional code.
The concepts are described in the getting started guide, which starts at https://www.mysensors.org/about
No, youre right, that wouldnt work for battery powered. I chop the ends off old cell phone chargers and try to keep a room's sensors down to a single box. The only one I've considered being battery powered is the "Mailbox opened" one but thats another project. The polling is really just to allow getting realtime data when you want it. If I think about it more, Ill probably leave it out. I was just thinking out loud near the end.
Hi all
we are working on a new web client for our domotic framework.
Here some screenshots
It's a WIP so we need any help to complete it.
The code is available at https://github.com/freedomotic/fd-vue-webapp/