more G-Labs products

Author Topic: TESTING RELEASE  (Read 196240 times)

April 02, 2014, 08:46:42 PM
Reply #15

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi Gene,

issue #1 scheduler crash (Scheduled ON/OFF PID35):

- go to configure ...
- Philips Hue Bridge
- edit trigger code
- change value from 5 to 6
- actions -> update

- go to configure
- group room1
- add hue devices
- add in device 4 a scheduler configuration like shown in the screenshot
- scheduler crasher within 20seconds with the errors reported earlier in this thread and indicator goes red

BUT I am not so sure anymore whether this is hue related because if I configure an X10 device with @Sunset/@Sunrise it crashes, too. Please see the second screenshot, showing the values within the scheduler itself.


Issue #2 wrong device status indication

Browser 1, Safari on iPad
Browser 2, Firefox 28.0 Mozilla 12 on Mac

- got to Control
- room1
- x10 light - select "swap status icon" at the right end of the line - how do you name it ?;-)
- device goes on, icon goes yellow
- press the "swap status icon" again
- device goes off, icon goes grey
- select Home
- select Analyze and just wait until the default watts graph is shown
- select Control
- select room1
- x10 light is yellow (the real device is still off)

Instead of using the "swap status" you can use the widget also, I have the feeling it is a 100% reproducable with "swap status" and a little less via widget.
The same happens to Browser 1 and 2.

Did you change something on caching versus R336? I did not try yet different timings between my actions. More or less one after another.

Thanks
Regards
Jens


April 02, 2014, 08:59:42 PM
Reply #16

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Ok the problem is that in r357 I changed the name of these events to:

Code: [Select]
@WeatherUnderground.Sunrise
@WeatherUnderground.Sunset

in next public release these will be reverted to @Sunrise and @Sunset as these can be considered system events.
Anyway I also fixed the "Object reference not set to an instance of an object" error that was caused by a not found event name.

Thanks!
g.
« Last Edit: April 02, 2014, 09:01:43 PM by Gene »

April 02, 2014, 09:19:37 PM
Reply #17

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Thank you.

Can I help further with the second topic, this is really strange.

I have another scenario

- do the part on iPad (on/off)
- use the Mac
- clear cache
- enter HG IP
- Control
- Room1
- surprise surprise, Light1 is indicated as beeing on although it is off

So it's not local cache or something like that on the device where the procedure is executed.

Cheers
Jens


April 02, 2014, 09:32:58 PM
Reply #18

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
I'm trying Firefox now and see if I can reproduce the problem.
I've actually been testing with Chrome and IE.

g.

April 02, 2014, 09:48:47 PM
Reply #19

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi Jens,

I just tried with Firefox... not able to reproduce the problem. =/ Unfortunately I do not have an iPad nor a Mac for matching your config.
Any other hint?

g.

April 02, 2014, 10:41:30 PM
Reply #20

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi Gene

just thinking..... maybe browser and os is not relevant, are you familiar with a wireshark trace, would that help to see what is beeing exchanged between browser and HG?

If so, I would plan this for the coming weekend.

Regards
Jens

April 02, 2014, 10:50:54 PM
Reply #21

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
what's this change about in R345?

MIG: added html memory files caching to WebServiceGateway


This issue is not reproducable with R336, unfortunate I did not use all versions, so can't get any closer. My starting point is always R336 as I used that one for longer.


Jens

April 02, 2014, 11:23:46 PM
Reply #22

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Caching only applies to html files.
From r352 and up the way the interface is updated is very different.
It is based on streaming events via http exception made only for the first load.
You can see detail of event messages by activating the developer tools/console in your browser.
So wireshark is not needed I hope =)

g.

April 03, 2014, 02:04:03 AM
Reply #23

pmowry911

  • *
  • Information
  • Newbie
  • Posts: 21
On 32bit linux ( Ubuntu 12.04.4 LTS, Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2) ), should I still need to downgrade the Newtonsoft.Json.dll file?  I cannot rename my Z-wave switches or change them to being lights without doing so.  It looks like it changes on the config page, but they are back to default on the control.  This is happening with 357, but perhaps I did not clean up properly.  I just did an apt-get remove.  This is related to a problem reported prior to 351.

I'm keeping everything at 357 for now to see if I have other issues.

I have a macbook pro (OSX 10.9.2) as well as a windows 7 enterprise system available.  if you want me to try and duplicate some of the other reported issues, but z-wave devices are all I have.  Switches, 1 dimmer and a thermostat.

edit: added mono version
« Last Edit: April 03, 2014, 02:07:25 AM by pmowry911 »

April 03, 2014, 07:52:39 AM
Reply #24

badfinger

  • **
  • Information
  • Jr. Member
  • Posts: 32
Hi Gene,
since the replacement of the Zwave DLL it works well.
Congratulations!

stay tuned

Alex

April 03, 2014, 08:51:05 AM
Reply #25

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hi Gene,
I installed the release 357 on RaspPI.

1 - I got some problems with JkUtils SunCalc WidGet.
Any hours are replaced by "NaN".
The image noon.png is not loaded.
Only the field "Last Updated" is right.

Do I miss something to use the widget.

2 - I have made some test with Fibaro Binary switch.
The status of the switches ON/OFF doesn't change in real time. I have to refresh the page to see the status changed to ON or OFF.


Cheers.
Dani

PS 1 : I verified, the file "non.png" doesn't exist in the folder http://192.168.1.17/hg/html/pages/control/widgets/jkUtils/suncalc/images
« Last Edit: April 03, 2014, 09:47:29 AM by dani »

April 03, 2014, 11:52:13 AM
Reply #26

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi mowry,

On 32bit linux ( Ubuntu 12.04.4 LTS, Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2) ), should I still need to downgrade the Newtonsoft.Json.dll file?  I cannot rename my Z-wave switches or change them to being lights without doing so.  It


you have either upgrade to mono 3.x or downgrade Newtonsoft.Json.dll.
With mono 2.x also scripting engines like Python and Ruby may not work properly, so I strongly suggest upgrading mono:

http://stackoverflow.com/questions/13365158/installing-mono-3-x-3-0-x-and-or-3-2-x

Cheers,
g.

April 03, 2014, 11:55:37 AM
Reply #27

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
2 - I have made some test with Fibaro Binary switch.
The status of the switches ON/OFF doesn't change in real time. I have to refresh the page to see the status changed to ON or OFF.


are you using a Mac as a client?
Can you look at the javascript console and see if you notice any error?
See this other post:

http://www.homegenie.it/forum/index.php?topic=129.msg623#msg623

g.

April 03, 2014, 07:44:50 PM
Reply #28

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hi Gene,

I am using Google Chrome under Linux Debian as client.

Cheers
Dani

April 03, 2014, 09:10:26 PM
Reply #29

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi Gene

i did the procedure again on/off chang to home analyze back to control
I cannot attach the snapshot from ipad so i try to describe best

- control
- room1 expands
- bulb is grey as it should be
- waiting indicator pops up (rotating circle)
- bulb gets yellow but should not

in debug i get

java script protocol in line 6251 ... event ...X10 A1... value

I do get this for 8 devices, but I have a lot more configured
a5 which is the bulb under test does not show up in the debug console
a1 and a10 do

if I make the test with a12 which does not show up either I have the same strange behaviour as with a5


sorry for typos sending from ipad

cheers
jens
« Last Edit: April 03, 2014, 09:32:04 PM by Jens »