Author Topic: www.mysensors.org  (Read 18504 times)

Offline bluman

  • Sr. Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
Re: www.mysensors.org
« Reply #45 on: July 08, 2014, 11:03:42 pm »
Same, error 502 Bad gateway

Offline C4Vette

  • Full Member
  • ***
  • Posts: 157
  • Karma: +3/-8
Re: www.mysensors.org
« Reply #46 on: July 09, 2014, 01:11:42 am »
No, MySensors.org is down  :'(
VeraLite UI7 1.7.649
Fan of: PLEG, DataYours, dutchSmartMeter, MySensors

Offline hek

  • Moderator
  • Hero Member
  • *****
  • Posts: 714
  • Karma: +60/-1
Re: www.mysensors.org
« Reply #47 on: July 09, 2014, 02:23:29 am »
Forum is still up. Just having problems with the documentation site.

Offline bubaleta

  • Full Member
  • ***
  • Posts: 111
  • Karma: +1/-0
Re: www.mysensors.org
« Reply #48 on: July 09, 2014, 02:36:24 am »
502 bad gateway here also

Offline petewill

  • Full Member
  • ***
  • Posts: 171
  • Karma: +20/-0
Re: www.mysensors.org
« Reply #49 on: July 17, 2014, 03:18:30 pm »
Ok!  Didn't know that. That might explain one bug report i saw.

Is it just a simple replace or do I have to change behavior?

@HEK, where you ever able to get this resolved?  I'm wondering if this is why my Vera has been restarting lately.  I have been using a motion sensor with dimmable LED lights (turned on with PLEG) and it seems to be restarting Vera.
My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

Offline hek

  • Moderator
  • Hero Member
  • *****
  • Posts: 714
  • Karma: +60/-1
Re: www.mysensors.org
« Reply #50 on: July 17, 2014, 05:10:51 pm »
It has been changed in the development branch (1.4). But I'm not completely sure the old behavior really could affect anything. Are you sending out much information to you nodes from the controller side? 

Offline petewill

  • Full Member
  • ***
  • Posts: 171
  • Karma: +20/-0
Re: www.mysensors.org
« Reply #51 on: July 17, 2014, 08:01:53 pm »
@HEK, thanks for the reply.  I still need to update to 1.4 but I haven't been able to get enough time to focus on it.  I don't know the exact number, but I think I have like 10 sensor nodes (some with multiple sensors) that I am using so it will take a while to migrate them all. 

I don't think I'm sending out too much information.  I have sometimes been able to reproduce the Vera restarts when I have a MySensors motion sensor turn on a MySensors LED light but not always.  I don't know if this matters or not but the motion sensor is connected to the same Arduino as the LED lights.  The motion sensor has no problems all day until I start to use it to control the LEDs.  Also, as I was writing this I took out the light level requirement of my PLEG condition and triggered the motion and the light turned on but did not restart Vera.  Very confusing...

For example, the sensor is in the kitchen and it has been triggering all day with no Vera restarts.  I can also dim my LEDs with no issues.  The trouble seems to (sometimes) start when they work together.  It will actually turn the LEDs on but sometime shortly after the Vera will start having issues.  I'm trying to get a better understanding of the logs to see if I can provide any more specific data.  What's also hard is I have my blinds closing about the same time (based on light level) as the LEDs start turning on with motion.  My blinds are also controlled by MySensors.  I had previously performed a test by taking the light sensor out of the PLEG condition and that seemed to resolve the issue.  However, last night it had all sorts of issues when I added it back in.  I'm stumped...

So, sorry for the rambling post.  I think I need to do some more controlled debugging.  I'll post back with my findings.
My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

Offline hek

  • Moderator
  • Hero Member
  • *****
  • Posts: 714
  • Karma: +60/-1
Re: www.mysensors.org
« Reply #52 on: July 18, 2014, 02:58:34 am »
You could try using the 1.4 version (shouldn't be much else differing)

https://github.com/mysensors/Vera/blob/development/I_Arduino1.xml

Please report back any improvements.

Offline petewill

  • Full Member
  • ***
  • Posts: 171
  • Karma: +20/-0
Re: www.mysensors.org
« Reply #53 on: July 21, 2014, 09:41:20 am »
An update...

I'm hopeful I have solved my Vera restart issues.  Based on this post there can be problems when running a PLEG condition too many times, too fast (Option 1):

There  is not likely any issue with a condition that will cause a restart.
What could trigger a restart is:
   1) the frequency of an input trigger.
   2) An input trigger, or the actions that runs as a result of a condition being satisfied, causing memory problems  or device dead locks, if the device in the action is not responding quickly enough to the number of requests being made of it.

As I was doing some more thinking about this problem I thought it might be due to my motion sensor occasionally not working correctly.  Sometimes (it seems to be random) my motion sensor will flip flop from triggered to not triggered very fast (4 times a second).  I had previously tried to fix this with a resistor, changing the power supply but nothing has seemed to work.  Well this weekend I coded the Arduino to only update a trigger every 20 seconds.  This means no matter how many times the motion sensor is triggered it only sends triggered 1 time in 20 seconds. 

So far, this seems to have fixed the issue.  I can post the code if anyone is interested...
My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

Offline chris66

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: +9/-8
Re: www.mysensors.org
« Reply #54 on: September 01, 2015, 08:53:39 am »
Hi hek,
I've seen this windsensor compatible with Arduino uno, do you think it's possible to integrate with your plugin?
http://www.aliexpress.com/item/The-wind-speed-sensor-voltage-type-0-to-5-v-compatible/32325481795.html?ws_ab_test=201407_4,201444_6,201409_4
Thanks,

chris

Online akbooer

  • Master Member
  • *******
  • Posts: 5463
  • Karma: +236/-69
  • "Less is more"
Re: www.mysensors.org
« Reply #55 on: September 01, 2015, 09:14:17 am »
The Vera plugin seems already able to support a wind device type.  So this is really more of an issue of writing the appropriate sketch for an Arduino node.  Perhaps better asked on the MySensors forum itself?
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P.
Razberry, MySensors Arduino, HomeWave, AltUI, DataYours, openLuup, ZWay, ZeroBrane Studio.

Offline chris66

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: +9/-8
Re: www.mysensors.org
« Reply #56 on: September 02, 2015, 03:52:04 am »
The Vera plugin seems already able to support a wind device type.  So this is really more of an issue of writing the appropriate sketch for an Arduino node.  Perhaps better asked on the MySensors forum itself?
Thanks for the answer, will check that.