This one looks better for outside use I think, because the sensor itself is more protected for water.
rnollen
@rnollen
Best posts made by rnollen
-
RE: Waterproof Lux Sensor
-
RE: Usage problem with 2.0 library
Think I have fixed it
I found this topic: https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/5
The answer for me was to downgrade the Arduino AVR Boards to version 1.6.11 (Using Tools/Boards/Boardsmanager) ... It seems there is a bug in the newer release of this tool and the W5100. So hopefully this issue can be fixed, so that in newer releases this is OK. Maybe it is wise to add this to the Ethernet Gateway Page when using a W5100 and Mysensors 2.0
Latest posts made by rnollen
-
RE: Waterproof Lux Sensor
This one looks better for outside use I think, because the sensor itself is more protected for water.
-
RE: Waterproof Lux Sensor
@alexsh1 said in Waterproof Lux Sensor:
@rnollen This is not a waterproof box. I have the same one and I can confirm that there is a moisture ingress over time (I used this one outside)
Yep, I also think it is totally not waterproof. I also say humidity inside the box. I think I do suggestions here, where I place the sensor itself in a little plastic bag to make it more waterproof. I think it will work better then? Or anyone got another suggestion?
-
RE: Waterproof Lux Sensor
@alexsh1 said in Waterproof Lux Sensor:
My BH1750 has been working flawlessly for many months. I put it on my window (from inside) to avoid any humidity issues, but the idea was to move it outside with my weather station.
That is the whole issue for me I have placed it in a waterproof box like this: http://www.ebay.com/itm/85x58x33mm-Waterproof-Cover-Clear-Plastic-Electronic-Project-Box-Enclosure-CASE-/281390875149?hash=item418434020d
This works, but behind a window is not an option. I want it facing the sun, basically the whole day with as little shade as possible. Otherwise it can happen that the sun is shining, but the sunscreen is not coming out because the sensor is not catching any sunshine
But in this box the sensor dies eventually and I want to have a long term solution for it -
Waterproof Lux Sensor
Hi,
On one of my projects I use the BH1750 Lux sensor to open my sunscreen. Now, to be honest.. I really hate that sensor It is more broken then it is working. I have replaced several over the past year..and now again with the frost it is dead again, where I did not touch it.
The Lux sensor is build in into a waterproof box, facing the sun.. Where the arduino itself is in a shed where it less influenced by the weather conditions. Now the waterproof box is not totally waterproof because of all the cables that are attached to it...
So I basically I want a waterproof Lux sensor where frost and vapour does not effect the sensor.. The BH1750 breaks to fast for me in my conditions.
Does anyone got a suggestion wat I can get, I have looked around on the internet .. but I cannot seem to find anything that is waterproof?
-
RE: Usage problem with 2.0 library
Think I have fixed it
I found this topic: https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/5
The answer for me was to downgrade the Arduino AVR Boards to version 1.6.11 (Using Tools/Boards/Boardsmanager) ... It seems there is a bug in the newer release of this tool and the W5100. So hopefully this issue can be fixed, so that in newer releases this is OK. Maybe it is wise to add this to the Ethernet Gateway Page when using a W5100 and Mysensors 2.0
-
RE: Usage problem with 2.0 library
@scalz said:
can you upload your gw and node sketch, so i can see your defines please?
Hi, I am only busy with the GW at this moment, I have not altered any sensor yet to 2.0 (Got 7 nodes).. this was the next phase I only have a lux sensor on y Breadboard running on MySensors 2.0
I used the sketch from the example libary, the same as on the build page of MySensors: (https://www.mysensors.org/build/ethernet_gateway) and used the "WizNET (W5100) Ethernet module" sketch.
Things I have tested:
- Enabled "//#define MY_W5100_SPI_EN 4" in the sketch. This resulted in a radio error:
- Changed the "//#define MY_SOFTSPI" in MyConfig.h, didn't seem to do anything when I enabled that. I have tested it where I have Enabled step 1, then it didn't give me an error on the radio... but it didn't fix anything also. Disabled step 1. Same result.
Don't know what I can test more
If you need anything, just let know.
-
RE: Usage problem with 2.0 library
Thanks.. I am not sure what is going wrong at this stage.
I am using an indeed a NRF24 radio, but I use the one with an external antenna (such as this one: http://www.ebay.com/itm/2-4G-1100m-Module-NRF24L01-PA-LNA-Communication-SMA-Antenna-Wireless-Transceiver-/172255694961?hash=item281b3d5071)
I use an external antenna because of the range and because I can make a cleaner box around itAlso my W5100 is slightly different, because alternative names are printed on the bottem. It has the same labels as the topicstarter here: https://forum.mysensors.org/topic/467/ethernet-gateway-troubleshooting-advice
But it worked like a charm for the last 1,5 years
But to give you an answer.. the SS/CSN is called NSS on my W5100 and this is the D10. Think this is OK?
The Radio CSN is connected to D6 -
RE: Usage problem with 2.0 library
@scalz said:
looks like your GW is rebooting..
What's your hardware for GW?I use an Arduino Uno and the W5100 Module, not the shield which you can click on an Uno..
I know in the past when I created the module, I needed to enable "//#define MY_SOFTSPI" in MyConfig.h... Tried it again, no luck.. Checked the wiring, nothing strange here..also nothing was changed on the wiring part, so I thought I would expect the same result...
-
RE: Usage problem with 2.0 library
@scalz said:
but for testing, you're right, it's perahps better to assemble a small test setup and see how it behaves before updating.
Ofcourse.. No Nuts no glory, I thought So updated my gateway..
Now, updating went well: I see this in the logs of the gateway:
IP: 192.168.0.20
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
IP: 192.168.0.20
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
IP: 192.168.0.20
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
IP: 192.168.0.20
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
IP: 192.168.0.20And it doing this in a loop... So I think this is OK?
But now, my domoticz doesn't connect correclty It does an initial connection, but I get an connection reset after a few seconds.
Anyone tried this with Domoticz? I would not have expected this<edit>
Hmm.. Gateway is not functioning correctly I guess.. In the troubleshooting guide I think I should see more at the end: (Copy/paste from this site):
IP: 192.168.10.80
0;255;3;0;9;MCO:REG:NOT NEEDED
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,ID=0,PAR=0,DIS=0,REG=1
0;255;3;0;9;TSF:MSG:READ,12-4-0,s=18,c=1,t=16,pt=1,l=1,sg=0:1
0;255;3;0;9;TSF:MSG:READ,12-4-0,s=31,c=1,t=16,pt=1,l=1,sg=0:1Also, I should see Gateway Startup Complete as the last line, but for some reason it is not working.. The wiring is exactly the same as before..? Also cleared the EEProm; republish the sketch.. but no luck
So it does not initialize correctly I think... but why? -
RE: Usage problem with 2.0 library
OK... I will try to find v2.0 code for my projects And will upgrade the GW first then