It was a silly mistake, I have forgotten to uncomment the username and password, its working now
Matt Pitts
@Matt Pitts
Best posts made by Matt Pitts
-
RE: W5100 MQTT gateway fails to connect to broker
Latest posts made by Matt Pitts
-
RE: How To: Make a Simple/Cheap Scene Controller (with video)
@rechin304 said:
@Matt-Pitts on 3 is short press and in code is scene on and on long press is 7 scene off
MyMessage scene(KEYPAD_CHILD_ID, V_SCENE_ON); //scene ON MyMessage scene2(KEYPAD_CHILD_ID, V_SCENE_OFF); //scene OFF send(scene2.set(keyInt)); } else { send(scene.set(keyInt));```
Hi Not sure if that helps me, I'm struggling to understand how this actually works? as I said the only button doing anything is 3, do I need to modify the sketch to get the other buttons working?
-
RE: How To: Make a Simple/Cheap Scene Controller (with video)
Hi Guys,
I'm so glad that have updated the sketch which i have now been able to compile and get running
But this is the message I get in the serial monitor and I only get these messages when I press button 3?? I am using a single row of four buttons as in the original sketch.
Am I missing something here? I was assuming the message with either be a 1 for a short press and 0 for a long press? I would be really grateful if someone who knows more about this than me is able to help me figure out what's going on?
TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:7 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3 TSP:MSG:SEND 11-11-0-0 s=95,c=1,t=19,pt=2,l=2,sg=0,ft=0,st=ok:3
-
RE: How To: Make a Simple/Cheap Scene Controller (with video)
Hi Guys,
I've been trying to compile this sketch without any success. I keep getting the following error when compiling
#error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
Can anyone help? thanks
-
RE: LM393 Light Sensor Readings
@mfalkvidd so what your saying is it's working correctly?
-
LM393 Light Sensor Readings
Hi There,
I have just setup the mysensors LM393 Light Sensor in the hope I can use the readings it generates to control when my house light switch on and off.
I'm a little unclear about the readings that the sensor is currently generating. I have setup exactly as described in the mysensors Light Sensor example.
Initally I only got these reading in the serial monitor, then I shone a torch into the sensor and got the higher readings, It is my understanding that the sensor should read high in the dark and low in the light? is that correct? so I don't really understand why it read higher when I shone the torch on it, can someone explain, or is something wrong with my sensor?
0 0 0 96 TSP:MSG:SEND 16-16-0-0 s=0,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=ok:96 96 96 96 96 43 TSP:MSG:SEND 16-16-0-0 s=0,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=ok:43 96 TSP:MSG:SEND 16-16-0-0 s=0,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=ok:96 0 TSP:MSG:SEND 16-16-0-0 s=0,c=1,t=23,pt=2,l=2,sg=0,ft=0,st=ok:0
-
RE: IR Sensor How to Use Manual codes
Thanks @blacey I'll give that a go tomorow and report back, really appreciate you pointing me in the right direction
-
RE: IR Sensor How to Use Manual codes
OK I used the sketch directly from Github and got these values, but not sure what to do with them now? There seem to be little in the way of instructions for how to set this up?
power on - UNKONWN C75375AC
power off - UNKONWN 52E87F1D
source up - UNKONWN 5E467F07
source down - UNKONWN 5299205C
vol up - UNKONWN 8086D9D7
vol up - UNKONWN 8086D9D7 -
RE: IR Sensor How to Use Manual codes
Hi I've just tried recording one button press IR value from my remote and this if what I get in the serial monitor, which does make much sense to me, can someone help out here??
Decoded Unknown: Value:0 (0 bits)
Raw samples(100): Gap:34750
Head: m450 s3500
0:m250 s3450 1:m250 s3450 2:m250 s3450 3:m200 s3500
4:m200 s3500 5:m200 s3500 6:m150 s3500 7:m200 s3500
8:m200 s3500 9:m200 s3500 10:m200 s3500 11:m200 s3500
12:m200 s3450 13:m250 s3450 14:m250 s3450 15:m200 s355016:m200 s3500 17:m200 s3500 18:m200 s3500 19:m250 s3500
20:m200 s3500 21:m250 s3450 22:m250 s3500 23:m200 s3500
24:m200 s3500 25:m250 s3500 26:m200 s3500 27:m250 s3450
28:m250 s3500 29:m250 s3450 30:m250 s3450 31:m250 s350032:m250 s3450 33:m250 s3450 34:m250 s3500 35:m200 s3500
36:m250 s3450 37:m250 s3500 38:m250 s3450 39:m250 s3500
40:m250 s3450 41:m250 s3500 42:m250 s3450 43:m250 s3500
44:m200 s3500 45:m250 s3500 46:m250 s3450 47:m250 s350048:m250
Extent=182350
Mark min:150 max:250
Space min:3450 max:3550TSP:MSG:SEND 4-4-0-0 s=3,c=1,t=24,pt=0,l=8,sg=0,ft=0,st=ok:00000000
Decoded Unknown: Value:0 (0 bits)
Raw samples(2): Gap:5750
Head: m300 s3500Extent=3800
Mark min:32767 max:0
Space min:32767 max:0TSP:MSG:SEND 4-4-0-0 s=3,c=1,t=24,pt=0,l=8,sg=0,ft=0,st=ok:00000000
-
IR Sensor How to Use Manual codes
Hi There,
I'm planning to use the IR sketch to try and control my NAD Amp. I have found the the IR codes for the Amp on their website http://nadelectronics.com/download-agree/131121131849-D3020_remote_codes.pdf|D 3020 Remote Codes
But I'm unclear how I translate this into the sketch, as they look somewhat different to the examples that are already in the IR Sensor sketch.
If anyone is able to point me in the right direction that would be much appreciated, Thanks
-
RE: W5100 MQTT gateway fails to connect to broker
It was a silly mistake, I have forgotten to uncomment the username and password, its working now