Announcement

Collapse
No announcement yet.

Magic Color Controllers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bsobel
    replied
    Originally posted by fuzzysb View Post
    I have released v1.0.0.146 in the Beta section, this now has a modified discovery which will ensure it broadcasts the discovery on all nics. i think this was the issue.

    In my testing with a large number vnics on different subnets I tried /16 /22 /24 /28 i got duplicates returned in the result set so i know it was broadcasting on multiple nics. I have performed a deduplication of the broadcast resultset by mac, but if you weren't getting any returns, you should hopefully do so now.
    Off to test, will report back. Thank you!

    Leave a comment:


  • fuzzysb
    replied
    I have released v1.0.0.146 in the Beta section, this now has a modified discovery which will ensure it broadcasts the discovery on all nics. i think this was the issue.

    In my testing with a large number vnics on different subnets I tried /16 /22 /24 /28 i got duplicates returned in the result set so i know it was broadcasting on multiple nics. I have performed a deduplication of the broadcast resultset by mac, but if you weren't getting any returns, you should hopefully do so now.

    Leave a comment:


  • bsobel
    replied
    Originally posted by fuzzysb View Post
    Ok the discovery sends a udp broadcast packet on Port 48899 on the HS machine or a Windows machine in the same subnet, type the following into power shell and confirm it also returns 255.255.255.255
    [System.Net.IPAddress]::Broadcast
    I also can't find the android app in the UK store you posted in the instructions in the earlier post.
    I confirmed the port you are using appears correct, my guess is the non class-c is causing the problem. Can you calculate the broadcast address (assuming today you are using .255 on the same class C). Second concern is there is a virtual NIC (10.1.100.x/255.255.252.0). Are you broadcasting on all available NICs or the first you come across?

    Its on a SEL (linux) box, so no power shell (otherwise I would have confirmed). My phone is iOS, app is called Magic Color. Haven't looked for it on Android (no Android device to check with). Broadcast would be 10.1.3.255 for that network, full network addresses:

    Address: 10.1.0.0 00001010.00000001.000000 00.00000000 Netmask: 255.255.252.0 = 22 11111111.11111111.111111 00.00000000 Wildcard: 0.0.3.255 00000000.00000000.000000 11.11111111 => Network: 10.1.0.0/22 00001010.00000001.000000 00.00000000 (Class A) Broadcast: 10.1.3.255 00001010.00000001.000000 11.11111111 HostMin: 10.1.0.1 00001010.00000001.000000 00.00000001 HostMax: 10.1.3.254 00001010.00000001.000000 11.11111110 Hosts/Net: 1022 (Private Internet) Here is the actual ifConfig confirming:
    eth3 Link encap:Ethernet HWaddr 1c:1b:0d:8e:ae:7a
    inet addr:10.1.0.20 Bcast:10.1.3.255 Mask:255.255.252.0
    inet6 addr: fe80::1e1b:dff:fe8e:ae7a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3524615 errors:0 dropped:7636 overruns:0 frame:0
    TX packets:2038565 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2144633264 (2.1 GB) TX bytes:599577717 (599.5 MB)

    eth3.1000 Link encap:Ethernet HWaddr 1c:1b:0d:8e:ae:7a
    inet addr:10.1.101.20 Bcast:10.1.103.255 Mask:255.255.252.0
    inet6 addr: fe80::1e1b:dff:fe8e:ae7a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:504100 errors:0 dropped:0 overruns:0 frame:0
    TX packets:336636 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:41945525 (41.9 MB) TX bytes:27612404 (27.6 MB)


    Manual link:
    http://www.ledmagical.com/Apps/image...20,370)-EN.pdf

    Leave a comment:


  • fuzzysb
    replied
    Ok the discovery sends a udp broadcast packet on Port 48899 on the HS machine or a Windows machine in the same subnet, type the following into power shell and confirm it also returns 255.255.255.255

    [System.Net.IPAddress]::Broadcast

    I also can't find the android app in the UK store you posted in the instructions in the earlier post.

    Leave a comment:


  • bsobel
    replied
    One thought, how are you doing your subnet scan? I assume multicast, but if perchance you are doing an actual scan Im on a /22 not /24

    Controller is 10.1.2.25/255.255.252.0 HS is 10.1.0.20/255.255.252.0 FYI...

    Leave a comment:


  • bsobel
    replied
    Originally posted by fuzzysb View Post
    Are you sure my plugin doesn't work with your lights? please use the latest beta and test. from my reading, the LedNet and MagicHome Controllers are all ESP8266 controllers. i believe this may well work already.
    Just grabbed the latest, it doesn't find the controller (its on the network, my phone finds it). I also get a warning at each startup:

    Attempt by plugin to register a duplicate link of https://forums.homeseer.com/forum/li...ichome-fuzzysb. Plugin: MagicHome Instance:

    I put the plugin to debug mode, but all the HS log shows is the startup. I don't see any log messages about discovery or anything like that. Anything else I can try? Screen shot is from when I started it in info mode, but no change in logging for debug mode.

    Click image for larger version

Name:	Screen Shot 2019-01-24 at 1.18.51 PM.png
Views:	393
Size:	53.7 KB
ID:	1278831Click image for larger version

Name:	Screen Shot 2019-01-24 at 1.23.32 PM.png
Views:	379
Size:	100.4 KB
ID:	1278832

    Leave a comment:


  • fuzzysb
    replied
    Are you sure my plugin doesn't work with your lights? please use the latest beta and test. from my reading, the LedNet and MagicHome Controllers are all ESP8266 controllers. i believe this may well work already.

    Leave a comment:


  • bsobel
    replied
    Originally posted by fuzzysb View Post
    The lednet controllers support has been requested in the other thread in this forum. I have a device turning up today, after which i will be able to work on adding support. just to set your expectations though, it may take a while as i am currently busy with my job which is currently sucking up all my free time
    Great and understood. I write plugins as well but also have the ‘real’ job. Been on my list to tackle but I try to avoid writing plugins too close to others if the existing one will get to it. Not a huge rush, running with some scripts but a better solution eventually will be nice.

    Thanks
    Bill

    Leave a comment:


  • fuzzysb
    replied
    The lednet controllers support has been requested in the other thread in this forum. I have a device turning up today, after which i will be able to work on adding support. just to set your expectations though, it may take a while as i am currently busy with my job which is currently sucking up all my free time

    Leave a comment:


  • bsobel
    replied
    I *think* this controls them correctly, FYI

    Attached Files

    Leave a comment:


  • bsobel
    started a topic Magic Color Controllers

    Magic Color Controllers

    Hi,

    I have an existing room with a MagicColor controller. Looks to be a LedNet controller. Naively these seem 'similar' to what you support, I am trying to determine if they are close enough that it makes sense to request you add support (its been on the list of addins to write, but low priority with the others in the works).

    Docs attached, could you take a peek and lmk if you could support it? Scratch that, the attachment is 3.4 meg (larger than the forum allows) Can I email it to you directly?

    Best
    Bill

    Click image for larger version

Name:	Screen Shot 2019-01-17 at 10.01.18 AM.png
Views:	406
Size:	287.8 KB
ID:	1276851
Working...
X