more G-Labs products

Author Topic: TESTING RELEASE  (Read 196260 times)

July 30, 2014, 05:42:03 AM
Reply #225

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'm installing r403 on the Raspi right now.  I was wondering if I need to install the same version on WinXP in order to use the test scripts you posted?  As of a few minutes ago, there was no Windows version on SourceForge.

July 30, 2014, 06:26:02 AM
Reply #226

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I installed r403 on the Raspi and the test script on both machines.  I added each the script to a group so I could click them to run easily.  I clicked each and the attached were the results.

WindowsXP running r374
Raspi running r403

July 30, 2014, 11:55:55 AM
Reply #227

Gene

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

hg update to r403 for Windows is now available from hg update manager.
What wanted to know from you is your consideration about performances of the new xtenlib.
Does it feel like more reactive?

Cheers,
g.
« Last Edit: July 30, 2014, 12:40:33 PM by Gene »

July 30, 2014, 11:57:02 AM
Reply #228

Gene

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

get r403 from the main download folder. It fixes the group lights on/off bug (I swear! this time it fixes it =)).

Cheers,
g.

July 30, 2014, 02:27:09 PM
Reply #229

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
When triggering from the web interface, things looked pretty good.  I found that one of my outdoor lights didn't turn off at it's scheduled time, but it's possible I was updating or running the test macro at the time.   I'll review the logs to see if it explains anything.

July 30, 2014, 05:57:44 PM
Reply #230

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I must have been updating HG at the wrong time last night since it didn't even try to turn off the light.  So far, everything looks good.  I'll continue to monitor for anomalies and post if something comes up.

July 30, 2014, 05:59:18 PM
Reply #231

Jens

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

yes, it is working now - many thanks

Regards
Jens

July 31, 2014, 03:53:53 AM
Reply #232

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Hi Ben,

hg update to r403 for Windows is now available from hg update manager.
What wanted to know from you is your consideration about performances of the new xtenlib.
Does it feel like more reactive?

Cheers,
g.
I tried to perform the update and it hung on me.  I eventually killed the process and tried launching HG again.  This time, it said it was running, but I could not access the web interface.  I'll go back to r374 for now.

EDIT: I don't know why the update didn't work, but I performed the update manually and things appear correct.
« Last Edit: July 31, 2014, 05:42:27 AM by bkenobi »

July 31, 2014, 12:47:05 PM
Reply #233

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi,
I update to r403 and in "Security Alarm System" at line 45:
Code: [Select]
When.ModuleParameterChange((module, parameter)=>When i update, there is an error, i replace by :
Code: [Select]
When.ModuleParameterChanged((module, parameter)=>like the suggestion of the error message, and i can update again.
Bye

July 31, 2014, 03:08:40 PM
Reply #234

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
I am running 403 and i get this when i go into interfaces, can't add node or remove but discovery works - running mono 3.2.8
System.NullReferenceException: Object reference not set to an instance of an object
  at HomeGenie.Service.Handlers.Config.ProcessRequest (MIG.MIGClientRequest request, MIG.MIGInterfaceCommand migCommand) [0x00000] in <filename unknown>:0
  at HomeGenie.Service.HomeGenieService.migService_ServiceRequestPreProcess (MIG.MIGClientRequest request, MIG.MIGInterfaceCommand migCommand) [0x00000] in <filename unknown>:0
  at MIG.MIGService.webGateway_ProcessRequest (System.Object gwRequest) [0x00000] in <filename unknown>:0
  at MIG.Gateways.WebServiceGateway.Worker (System.Object state) [0x00000] in <filename unknown>:0
System.NullReferenceException: Object reference not set to an instance of an object
  at HomeGenie.Service.Handlers.Config.ProcessRequest (MIG.MIGClientRequest request, MIG.MIGInterfaceCommand migCommand) [0x00000] in <filename unknown>:0
  at HomeGenie.Service.HomeGenieService.migService_ServiceRequestPreProcess (MIG.MIGClientRequest request, MIG.MIGInterfaceCommand migCommand) [0x00000] in <filename unknown>:0
  at MIG.MIGService.webGateway_ProcessRequest (System.Object gwRequest) [0x00000] in <filename unknown>:0
  at MIG.Gateways.WebServiceGateway.Worker (System.Object state) [0x00000] in <filename unknown>:0

help please :)

July 31, 2014, 04:50:33 PM
Reply #235

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I was just reviewing the mono console output from running the test script on both HG boxes.  I see most instances of commands with the "COMMAND SUCCESSFUL" statement which I assume means that the CM15A responded with 0x55.  I also see a couple instances of "PREVIOUS COMMAND TIMED OUT, RESENDING(1)" which I infer as meaning 0x55 was not received so HG assumes the command did not go through.  Is that correct?

July 31, 2014, 06:59:13 PM
Reply #236

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
That shows up in the console, and then i can't add or remove a node from the zwave menu, it can discover nodes however - can't find the problem really, maybe sending wrong command in the ui?

July 31, 2014, 11:48:57 PM
Reply #237

Gene

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

the bug is now fixed. You can update using the update checker (configure->maintenance).

g.

August 01, 2014, 10:05:53 AM
Reply #238

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
Hi ado,

the bug is now fixed. You can update using the update checker (configure->maintenance).

g.

Yes it now works flawlessly :) while on the subject on fixing things, on energy meters is it possible for it to display Watt(W) or kilowatt(kW) at the end of the number? cause all i get is 1580, i know it's counting watts but it would be nice to have something in the end showing what it is - also is it possible to count both watts and kilowatts and display them? Using Energy Meter 2nd Generation from AeonLabs. Preferably to display Ampere, Volt, Watt & Kilowatt, is it possible? :)

Also another bug, when avg antivirus is active the control page does not load, it spins infinitely.

Cheers all :)
« Last Edit: August 01, 2014, 10:10:14 AM by ado464 »

August 02, 2014, 04:29:32 PM
Reply #239

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Looks like I found at least one instance of the system not working quite right.  I'm pretty sure this is HG deciding to send only the second half of the command.

HG1 sending B1, B ON correctly at 19:39:
Code: [Select]
[19:39:04.395905] X10 > 5A 02 00 46
[19:39:04.399045] X10 > PLCRX: 5A 02 00 46
[19:39:04.401883] X10 > FNMAP: 00
[19:39:04.404714] X10 >  DATA: 46
[19:39:04.407699] X10 >       0) House code = O
[19:39:04.410459] X10 >       0)  Unit code = 1
[19:39:04.808018] X10 > 5A 02 01 42
[19:39:04.811568] X10 > PLCRX: 5A 02 01 42
[19:39:04.814434] X10 > FNMAP: 01
[19:39:04.817265] X10 >  DATA: 42
[19:39:04.820226] X10 >       0) House code = O
[19:39:04.823041] X10 >       0)    Command = ON
2014-08-01T19:39:04.8266590-07:00 HomeAutomation.X10 O1 - Status.Level 1
[19:39:06.086326] X10 < 04 E6
[19:39:07.112685] X10 > 55
[19:39:07.116125] X10 > COMMAND SUCCESSFUL
[19:39:07.148440] X10 < 06 E2
[19:39:07.572134] X10 > 55
[19:39:07.575184] X10 > COMMAND SUCCESSFUL
2014-08-01T19:39:07.6062030-07:00 HomeAutomation.X10 B1 - Status.Level 1

HG2 receiving B1, B ON correctly at 19:39:
Code: [Select]
[19:39:00.890625] X10 > 5A 02 00 46
[19:39:00.890625] X10 > PLCRX: 5A 02 00 46
[19:39:00.890625] X10 > FNMAP: 00
[19:39:00.890625] X10 >  DATA: 46
[19:39:00.890625] X10 >       0) House code = O
[19:39:00.890625] X10 >       0)  Unit code = 1
[19:39:01.296875] X10 > 5A 02 01 42
[19:39:01.296875] X10 > PLCRX: 5A 02 01 42
[19:39:01.296875] X10 > FNMAP: 01
[19:39:01.296875] X10 >  DATA: 42
[19:39:01.312500] X10 >       0) House code = O
[19:39:01.312500] X10 >       0)    Command = ON
2014-08-01T19:39:01.3125000-07:00 HomeAutomation.X10 O1 - Status.Level 1
[19:39:03.593750] X10 > 5A 02 00 E6
[19:39:03.593750] X10 > PLCRX: 5A 02 00 E6
[19:39:03.593750] X10 > FNMAP: 00
[19:39:03.593750] X10 >  DATA: E6
[19:39:03.593750] X10 >       0) House code = B
[19:39:03.593750] X10 >       0)  Unit code = 1
[19:39:04.046875] X10 > 5A 02 01 E2
[19:39:04.046875] X10 > PLCRX: 5A 02 01 E2
[19:39:04.046875] X10 > FNMAP: 01
[19:39:04.046875] X10 >  DATA: E2
[19:39:04.046875] X10 >       0) House code = B
[19:39:04.046875] X10 >       0)    Command = ON
2014-08-01T19:39:04.0468750-07:00 HomeAutomation.X10 B1 - Status.Level 1


HG1 sending B OFF only at 19:44(and previous command O1, O OFF to show it should send more):
Code: [Select]
[19:40:24.528825] X10 > 5A 02 00 46
[19:40:24.532266] X10 > PLCRX: 5A 02 00 46
[19:40:24.535097] X10 > FNMAP: 00
[19:40:24.537923] X10 >  DATA: 46
[19:40:24.540962] X10 >       0) House code = O
[19:40:24.543803] X10 >       0)  Unit code = 1
[19:40:24.941841] X10 > 5A 02 01 43
[19:40:24.945281] X10 > PLCRX: 5A 02 01 43
[19:40:24.948156] X10 > FNMAP: 01
[19:40:24.950998] X10 >  DATA: 43
[19:40:24.953932] X10 >       0) House code = O
[19:40:24.956852] X10 >       0)    Command = OFF
2014-08-01T19:40:24.9603950-07:00 HomeAutomation.X10 O1 - Status.Level 0
<truncated HG internal commands>
[19:44:06.476460] X10 < 06 E3
[19:44:06.902297] X10 > 55
[19:44:06.905813] X10 > COMMAND SUCCESSFUL
2014-08-01T19:44:06.9419770-07:00 HomeAutomation.X10 B1 - Status.Level 0

HG2 receiving B OFF (and previous command):
Code: [Select]
[19:40:21.031250] X10 > 5A 02 00 46
[19:40:21.031250] X10 > PLCRX: 5A 02 00 46
[19:40:21.031250] X10 > FNMAP: 00
[19:40:21.031250] X10 >  DATA: 46
[19:40:21.031250] X10 >       0) House code = O
[19:40:21.031250] X10 >       0)  Unit code = 1
[19:40:21.437500] X10 > 5A 02 01 43
[19:40:21.437500] X10 > PLCRX: 5A 02 01 43
[19:40:21.437500] X10 > FNMAP: 01
[19:40:21.437500] X10 >  DATA: 43
[19:40:21.437500] X10 >       0) House code = O
[19:40:21.437500] X10 >       0)    Command = OFF
2014-08-01T19:40:21.4375000-07:00 HomeAutomation.X10 O1 - Status.Level 0
[19:44:03.375000] X10 > 5A 02 01 E3
[19:44:03.375000] X10 > PLCRX: 5A 02 01 E3
[19:44:03.375000] X10 > FNMAP: 01
[19:44:03.375000] X10 >  DATA: E3
[19:44:03.375000] X10 >       0) House code = B
[19:44:03.375000] X10 >       0)    Command = OFF
2014-08-01T19:44:03.3750000-07:00 HomeAutomation.X10 B1 - Status.Level 0

For reference, O1 is a PLC based transmitter.  It looks to me like HG thinks the last HC was still B, so it didn't send the B1 unit code.  Perhaps there's an issue with HG tracking external transmitters when it comes to the current HC?