X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Topic started by: smatofu on February 20, 2021, 11:07:01 AM

Title: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 11:07:01 AM
Hello,

I have a "Shut everything off" macro that is scheduled to run at night.

To my surprise, the macro is triggered randomly between 8:00 and 9:00am.

The macro is scheduled to run at night on CM15A, but as a backup, it is also scheduled to be triggered by X10 WiFi.

I suspect the clock time is messed up on CM15A or X10 WiFi.

Is there a way to see what clock times are on CM15A and X10 WiFi?

(BTW, I cleaned ActiveHome trash can today. Maybe some deleted items had been causing the issue.
There is also a possibility of power line noise changing codes and triggering the macro)

So far to check clock times, I added a few phantom devices to an unused house code and I scheduled ON/OFF at certain times. I can monitor those events. But it is a cumbersome method. I wonder if there is anything as easy as seeing the actual clock time?


Thank you,
Stan




Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 11:22:37 AM
:) Answering my own question  -:)

I see for CM15A, I can see clock time on the Hardware Configuration window.

Does anybody know how to see hardware clock time on X10 WiFi?

Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: brobin on February 20, 2021, 11:42:33 AM
:) Answering my own question  -:)

I see for CM15A, I can see clock time on the Hardware Configuration window.

Does anybody know how to see hardware clock time on X10 WiFi?

If I'm not mistaken, the WM100 syncs its time to the phone when connected to the app, so just access it with the app and the time should be corrected.  I'm sure someone will correct me if I'm wrong about this.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 11:48:54 AM
If I'm not mistaken, the WM100 syncs its time to the phone when connected to the app, so just access it with the app and the time should be corrected.  I'm sure someone will correct me if I'm wrong about this.
[/quote] Correct.
Both the CM15 and WM100 will resync their times once accessed via their software connection.
CM15 is synced to the computers time, the Wm100 synced to the Phones time.
The WM100 will notify you the time is off when you connect.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 12:03:06 PM
Thank you Tuicemen and Brobin!

[ the Wm100 synced to the Phones time.]

How about a power failure? CM15A has backup batteries, but what about WM100?

Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 12:19:53 PM
How about a power failure? CM15A has backup batteries, but what about WM100?
The WM100 will require a resync after a power failure as it has no RTC  (a design flaw).
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: brobin on February 20, 2021, 12:53:05 PM
How about a power failure? CM15A has backup batteries, but what about WM100?
The WM100 will require a resync after a power failure as it has no RTC  (a design flaw).
...and if you plug it into a UPS to keep the time, the UPS will severely degrade the X10 signals.  :'
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 01:26:52 PM
The WM100 will require a resync after a power failure as it has no RTC  (a design flaw).

Woooooow!!! A huge design flaw!!!   B:(

I am actually power-cycling my WM100 because there are issues with connecting to it after a few days.

I guess I will have to stop power cycling and find another fix for unreliable connections...  >*<
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 01:40:33 PM
Go into your router and set a IP reservation for the WM100 that should solve the connecting issue.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 01:49:32 PM
Go into your router and set a IP reservation for the WM100 that should solve the connecting issue.

1. I set a static IP address for my WM100. Double-checked now and IP is as expected. So this wasn't the root cause of my problems.
2. My connection success rate is maybe 95%, not bad, but those 5% of failures seem to be at the worst expected times.

3. I am going to power cycle once a week at Sunday/Monday midnight. It will reset the clock to beginning of week 00:00 which is acceptable.

 
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: brobin on February 20, 2021, 02:17:05 PM
When you've had enough of fighting the WM100's limitations have a look at the Smartenit P2 which does everything that the WM100 is supposed to do but without the problems plus it gives you Alexa/Google Home control as well.  I've been using one for almost 2 years without problems and a number of folks here have been getting onboard too.  The P2 with the PLM (needed for X10) is $59.99.

https://smartenit.com/shop/zigbee-insteon-x10-multi-protocol-gateway-hub/

Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 02:23:10 PM
When you've had enough of fighting the WM100's limitations have a look at the Smartenit P2 which does everything that the WM100 is supposed to do but without the problems plus it gives you Alexa/Google Home control as well.  I've been using one for almost 2 years without problems and a number of folks here have been getting onboard too.  The P2 with the PLM (needed for X10) is $59.99.

https://smartenit.com/shop/zigbee-insteon-x10-multi-protocol-gateway-hub/

If I had known about Smartenit P2 before buying WM100...  I will buy Smartenit P2, but I have to replenish my home automation budget.     
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 03:28:42 PM

1. I set a static IP address for my WM100. Double-checked now and IP is as expected. So this wasn't the root cause of my problems.
2. My connection success rate is maybe 95%, not bad, but those 5% of failures seem to be at the worst expected times.

3. I am going to power cycle once a week at Sunday/Monday midnight. It will reset the clock to beginning of week 00:00 which is acceptable.
A static IP and reserved IP aren't the same.
A static IP means the WM100 will only connect to your router with that ip.  If it goes off line your router could hand that IP to another device thus your WM100 wouldn't reconnect as the IP would be in use.
 A reserved IP means the router will only hand that IP to the WM100 it will never hand that IP to another device even if your wm100 is off line for a month or more.

This doesn't mean your WM100 may not still need a power cycling but I've never had to do that for any of mine. I have noticed a time sync being required every so often when I connect to them with the phone but the time is no usually off by more then a few mins
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 03:56:34 PM
[A reserved IP means the router will only hand that IP to the WM100 it will never hand that IP to another device even if your wm100 is off line for a month or more.]

Ok, so I have a reserved IP.

[This doesn't mean your WM100 may not still need a power cycling but I've never had to do that for any of mine.]

Since I am doing power cycling, my connection rate is almost 100%. Before, it was failing once a while.





Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 04:01:15 PM
I had that issue with my Broadlink RM Pro using a static IP, when I checked with a port scanner I discovered my Phone was using its IP.
I now have all my wifi devices setup in my router with a IP reservation.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 04:07:48 PM
I now have all my wifi devices setup in my router with a IP reservation.

Same here! :) Unbelievable how long the list is... :) I haven't reached the 250 subnet limit yet, but it is imaginable :)
 

Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: IPS on February 20, 2021, 04:57:03 PM
For about two months now, I have a problem with WM100. Problem is that every few days my iPhone and iPad can not connect to X10 Wi-Fi. I try to scan the label and it down loads info  may be 5-6% and disconnects and then next timemay be  20-30% and stops. Every time i rescan the label, i have to unplug and re-plug. Now for almost a week I can't connect my iPhone.
What was happening is that after few days the light on the app window would turn red and stay red. then I would re install X10 wifi. And that seems to be a big mistake. Now I just forget about it for some time and it reconnects and start working by itself. Wish I had learnt this before erasing the app from iPhone.
Could not get any help from X10 company.
I need WM100 for timers. I am using smartenit P2 and 2612U but am not able to work with the timers and macros. BRUCE has been of great help. I still need to get the timers working and then I will get rid of X10wifi.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: brobin on February 20, 2021, 05:36:22 PM
What problems are you having setting up the timers in the P2?   If you need help,  I can set some up as an example and you can do the rest.  You can PM me your Smartenit account info and then I can access it through the web portal to get you started.
 
Here are the basic instructions:

Create X10 devices by doing the following-
1. Click the Green + in the upper right hand corner of the Dashboard;
2. Select 'Devices'
3. Select 'Switches/Outlets'
4. Scroll down and select either 'X10 Appliance Modules' or ' X10 Dimmers' which are the only two options for X10 devices.  Ignore all the others.  Use 'Appliance Modules' for X10 motion sensors (NOT security sensors).
5. Click 'Add Now'
6. Enter the name you'd like to call it, a House Code Letter and a Unit Code number where indicated and Click 'Save.'

Now for the timers-
1. Click the Green + in the upper right hand corner;
2. Select 'Automation Rules'
3. Enter a 'Rule Name' i.e., Porch Light;
4. Select 'ALL' or 'ANY' conditions in the When box.  ALL is used if more than one condition needs to be true.  ANY is selected if just one condition needs to be true.  In other systems ALL would be like AND and ANY would be like OR.
5. Tap the green + and select the condition (scroll right to see them all) fill in the appropriate prompts and click 'SAVE'
6. Now do the same for the THEN box and 'SAVE' and you have your timer.

As an example, here's how The MS16A on the front porch sends me an email and a notification when motion is detected:
The 'Porch Indicator' is the motion detector name.








Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: smatofu on February 20, 2021, 06:51:53 PM
A static IP and reserved IP aren't the same.
A static IP means the WM100 will only connect to your router with that ip.  If it goes off line your router could hand that IP to another device thus your WM100 wouldn't reconnect as the IP would be in use.
 A reserved IP means the router will only hand that IP to the WM100 it will never hand that IP to another device even if your wm100 is off line for a month or more.

This doesn't mean your WM100 may not still need a power cycling but I've never had to do that for any of mine. I have noticed a time sync being required every so often when I connect to them with the phone but the time is no usually off by more then a few mins

Tuicemen,

Your mistake was using a static IP address that was within DHCP address range. Other than that, I don't see any problem with static addresses.

For example, if your DHCP address range is 1-100. then you should use addresses between 101-255 for static.

Having said that, I also reserve addresses on the router. It is called MAC Address - IP biding on my router. (in essence, it is a static IP address defined by the router instead of defining it on the device) .


Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: Tuicemen on February 20, 2021, 08:40:28 PM
Tuicemen,

Your mistake was using a static IP address that was within DHCP address range. Other than that, I don't see any problem with static addresses.

For example, if your DHCP address range is 1-100. then you should use addresses between 101-255 for static.

Having said that, I also reserve addresses on the router. It is called MAC Address - IP biding on my router. (in essence, it is a static IP address defined by the router instead of defining it on the device) .
Your probably right I don't remember which range things were in, just that the IP Reservation (mac binding which would be a more precise definition) fix things. I wish routers would all use the same terms (naming of options) ::) :'
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: IPS on February 21, 2021, 12:19:58 PM
Thanks brobin. I have ms 14A and it seems to work with P2. Turns on light and send a email too. I don’t have MS16A.
Title: Re: How to check clock time on CM15A and X10 WiFi
Post by: brobin on February 21, 2021, 12:28:35 PM
The MS16A is essentially the same as the MS14A but better suited for outdoor use.