Philips Dynalite integration - state reporting

I don’t know how to explain it in IT language, however I will show you how it looks in the system builder program and compare it with HA configuration

The below shows the area and channel that the physical switch configured to it (no state is reflected in HA)

Each area in yellow icon holding a number and below it channels with the purple icon holding a number, this is how your integration work, and it is fine with HA it will communicate with Dynet. The problem with this approach we don’t get the state to show if we press the physical switch.

However what @HoundDog showed me that the state can be reflected if I kept all the channels in separated areas and change the configuration in HA accordingly. the below is system builder where channels area separated in areas

The bottom line is:

If the button press on the physical switch configured to toggle on/off (preset 1/4) for a specific channel in an area it will not report to HA (I can press the physical button and get the packet reading form system builder if this is useful)

If the button press on the physical switch configured to toggle on/off (preset 1/4) for all channels in area it will report the state in HA.

Thank you

thanks. i have multiple channels in an area and it works, so this is strange. can you please send me the dynalite part of the configuration.yaml and perhaps the config entry from .storage/core.config_entries?

This what I use now

dynalite:
  bridges:
    - host: 192.168.75.232
      autodiscover: true
      name: dynalite
      active: on
      polltimer: 1.0
      area:
        '30':
          name: Family Room
          channel:
            '1':
              name: All toggle
        '31':
          name: Kitchen
          channel:
            '1':
              name: All toggle
        '32':
          name: Living Room
          channel:
            '1':
              name: All toggle
        '33':
          name: Main Entrance
          channel:
            '1':
              name: All toggle
        '34':
          name: Majlis
          channel:
            '1':
              name: All toggle
        '35':
          name: Master Bed
          channel:
            '1':
              name: All toggle
        '36':
          name: Master Sitting
          channel:
            '1':
              name: All toggle
        '37':
          name: Master Bathroom and Dressing
          channel:
            '1':
              name: All toggle
        '2':
          name: Majlis
          channel:
            '1':
              name: Spot
        '28':
          name: Majlis
          channel:
            '2':
              name: Chandlier
        '29':
          name: Majlis
          channel:
            '3':
              name: Covelight
        '3':
          name: Living Room 
          channel:
            '1':
              name: Covelight 
        '26':
          name: Living Room
          channel:
            '3':
              name: Chandlier
        '27':
          name: Living Room
          channel:
            '4':
              name: Spot
        '4':
          name: Main Entrance
          channel:
            '2':
              name: Chandlier 
        '24':
          name: Main Entrance
          channel:
            '5':
              name: Spot
        '25':
          name: Main Entrance
          channel:
            '6':
              name: Covelight
        '5':
          name: Dinning
          channel:
            '1':
              name: Chandlier
        '6':
          name: Kitchen
          channel:
            '1':
              name: Spot
        '8':
          name: Kitchen
          channel:
            '2':
              name: Chandlier
        '7':
          name: Stair
          channel:
            '1':
              name: Lights
        '9':
          name: Master Bed
          channel:
            '1':
              name: Chandlier
        '22':
          name: Master Bed
          channel:
            '6':
              name: Spot
        '23':
          name: Master Bed
          channel:
            '7':
              name: Covelight
        '10':
          name: Master Sitting
          channel:
            '1':
              name: Spot
        '20':
          name: Master Sitting
          channel:
            '2':
              name: Chandlier
        '21':
          name: Master Sitting
          channel:
            '3':
              name: Covelight
        '11':
          name: Family Room
          channel:
            '3':
              name: Spot
        '13':
          name: Family Room
          channel:
            '1':
              name: Chandlier
        '19':
          name: Family Room
          channel:
            '2':
              name: Covelight

        '12':
          name: Master Entrance
          channel:
            '8':
              name: Spot
        '14':
          name: Outside Wall
          channel:
            '2':
              name: Lamp
        '15':
          name: First Floor Lobby
          channel:
            '1':
              name: Spot
        '16':
          name: Outside villa wall
          channel:
            '1':
              name: out
        '17':
          name: Master Bath
          channel:
            '1':
              name: Spot
        '18':
          name: Master Dress
          channel:
            '1':
              name: Spot

This what I used to use

dynalite:
  bridges:
    - host: 192.168.75.232
      autodiscover: true
      name: dynalite
      active: on
      polltimer: 1
      area:
        '2':
          name: Majlis
          template: room
          channel:
            '1':
              name: Spot
            '2':
              name: Chandlier
            '3':
              name: Covelight
        '3':
          name: Living Room
          template: room
          channel:
            '1':
              name: Living Covelight 
            '3':
              name: Living Chandlier
            '4':
              name: Living Spot
        '4':
          name: Main Entrance
          template: room
          channel:
            '2':
              name: Chandlier 
            '5':
              name:  Spot
            '6':
              name: Covelight
        '5':
          name: Dinning
          channel:
            '1':
              name: Chandlier
        '6':
          name: Kitchen
          template: room
          channel:
            '1':
              name: Spot
            '2':
              name: Chandlier
        '7':
          name: Stair
          channel:
            '1':
              name: Lights
        '9':
          name: Master Bed
          template: room
          channel:
            '1':
              name: Chandlier
            '6':
              name: Spot
            '7':
              name: Covelight
        '10':
          name: Master Sitting
          template: room
          channel:
            '1':
              name: Spot
            '2':
              name: Chandlier
            '3':
              name: Covelight
        '11':
          name: Family Room
          template: room
          channel:
            '1':
              name: Chandlier
            '2':
              name: Covelight
            '3':
              name: Spot
        '12':
          name: Master Entrance
          channel:
            '8':
              name: Spot
        '14':
          name: Outside Wall
          channel:
            '2':
              name: Lamp
        '15':
          name: First Floor Lobby
          channel:
            '1':
              name: Spot
        '16':
          name: Outside villa wall
          channel:
            '1':
              name: out
        '17':
          name: Master Bath
          channel:
            '1':
              name: Spot
        '18':
          name: Master Dress
          channel:
            '1':
              name: Spot

This is what I have under .storage/core.config_entries

            {
                "entry_id": "008afe938210ef6acdb3028c5d65afa9",
                "version": 1,
                "domain": "dynalite",
                "title": "192.168.75.232",
                "data": {
                    "host": "192.168.75.232",
                    "autodiscover": true,
                    "name": "dynalite",
                    "active": true,
                    "polltimer": 1.0,
                    "area": {
                        "30": {
                            "name": "Family Room",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "31": {
                            "name": "Kitchen",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "32": {
                            "name": "Living Room",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "33": {
                            "name": "Main Entrance",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "34": {
                            "name": "Majlis",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "35": {
                            "name": "Master Bed",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "36": {
                            "name": "Master Sitting",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "37": {
                            "name": "Master Bathroom and Dressing",
                            "channel": {
                                "1": {
                                    "name": "All toggle",
                                    "type": "light"
                                }
                            }
                        },
                        "2": {
                            "name": "Majlis",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "28": {
                            "name": "Majlis",
                            "channel": {
                                "2": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "29": {
                            "name": "Majlis",
                            "channel": {
                                "3": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "3": {
                            "name": "Living Room",
                            "channel": {
                                "1": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "26": {
                            "name": "Living Room",
                            "channel": {
                                "3": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "27": {
                            "name": "Living Room",
                            "channel": {
                                "4": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "4": {
                            "name": "Main Entrance",
                            "channel": {
                                "2": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "24": {
                            "name": "Main Entrance",
                            "channel": {
                                "5": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "25": {
                            "name": "Main Entrance",
                            "channel": {
                                "6": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "5": {
                            "name": "Dinning",
                            "channel": {
                                "1": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "6": {
                            "name": "Kitchen",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "8": {
                            "name": "Kitchen",
                            "channel": {
                                "2": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "7": {
                            "name": "Stair",
                            "channel": {
                                "1": {
                                    "name": "Lights",
                                    "type": "light"
                                }
                            }
                        },
                        "9": {
                            "name": "Master Bed",
                            "channel": {
                                "1": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "22": {
                            "name": "Master Bed",
                            "channel": {
                                "6": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "23": {
                            "name": "Master Bed",
                            "channel": {
                                "7": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "10": {
                            "name": "Master Sitting",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "20": {
                            "name": "Master Sitting",
                            "channel": {
                                "2": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "21": {
                            "name": "Master Sitting",
                            "channel": {
                                "3": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "11": {
                            "name": "Family Room",
                            "channel": {
                                "3": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "13": {
                            "name": "Family Room",
                            "channel": {
                                "1": {
                                    "name": "Chandlier",
                                    "type": "light"
                                }
                            }
                        },
                        "19": {
                            "name": "Family Room",
                            "channel": {
                                "2": {
                                    "name": "Covelight",
                                    "type": "light"
                                }
                            }
                        },
                        "12": {
                            "name": "Master Entrance",
                            "channel": {
                                "8": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "14": {
                            "name": "Outside Wall",
                            "channel": {
                                "2": {
                                    "name": "Lamp",
                                    "type": "light"
                                }
                            }
                        },
                        "15": {
                            "name": "First Floor Lobby",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "16": {
                            "name": "Outside villa wall",
                            "channel": {
                                "1": {
                                    "name": "out",
                                    "type": "light"
                                }
                            }
                        },
                        "17": {
                            "name": "Master Bath",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        },
                        "18": {
                            "name": "Master Dress",
                            "channel": {
                                "1": {
                                    "name": "Spot",
                                    "type": "light"
                                }
                            }
                        }
                    },
                    "port": 12345
                },
                "options": {},
                "pref_disable_new_entities": false,
                "pref_disable_polling": false,
                "source": "import",
                "unique_id": null,
                "disabled_by": null

ok. what you used to have should work and it is similar to what i have in my house.

i believe you are copied on the messages from the main thread. i will build a custom library to see if it works with these things and if it does, will figure out how to add it to the configuration

1 Like

Hey @BinGraiban would you mind taking a look at this thread. I’ve got one of those cheap Chinese Ethernet to RS485 convertors. I can get messages from the Dynet system but I can’t send them. I read a few of your posts and see you have some experience that might be useful to me. I’d appreciate anything you could contribute. Thanks heaps.

Sorry to OP for highjacking. I’ll delete on request.

Hi @GazTheGeek I had similar device as you have there check this post RS-485/RS-232 it had issues if you counite in the thread there is issue with checksum, I got another bridge which is RS-485 only all that checksum error disappeared. you might also see @HoundDog post up as his bridge was configured as Dynet2 if you have system builder.

Thanks @BinGraiban. I have read both these threads a few times. What I was hoping you could do is take a screen shot of your converter’s configuration. I think I have mine properly setup but I just cannot send commands to the Dynet system and have it control a light. It says it sends the message but nothing happens.

Sure have a look

Just to note the I’m using DHCP so the static is overwritten

rs485 bridge configuration:

Thank you. Mine is set up the same. I think my hardware might be faulty

Might be I had almost the same device with RS232 and RS485 like yours it was having errors

edit: if you have system builder you might be able to check the connection there

Interesting. I was fiddling about with Net Assist trying to read and write HEX codes to/from the Ethernet to RS485 converter. I pressed a button on the wall and it read 1C 2D 64 00 00 00 FF 54 so I copied and sent the same code back again and it turned the led indicator light on the wall panel on. So I’m definitely communicating with the dynalite system. Just the codes are wrong. I have to find a way to get the correct codes to control the room lights.

Any updates on this?, my dynalite system does not report to home assistant when i use a physical switch. I have tried to run the services to collect the channel level and area preset, yet these do nothing.

The only way around it which i found is to toggle the light twice, thus updating the switch.

TIA

Hey,

I have followed the post #22 here, It seems to work for the feedback, Other issue raised which is if you control it via HA then the switch it self do not update it means if you turn it on via HA then physically you have to turn it off by taping twice

@BinGraiban I’m getting the correct state via your above method of areas but added in task to the switch set the preset to 1 or 4 after the fade time delay…its basically the double press but you don’t have to physically press it

1 Like

I will give it a try thanks a bunch :bouquet:

Hello Sir,
How are you?

Was this issue solved? If it was, can you share to me because I have same issue with my HA states updates.

Hello Dears, @ziv @HoundDog @BinGraiban .
This may help a lot.

I used ramp up/ramp down channel button option in my antumbra keypad. Its working fine now. I can get directly the actual feedback or state of the circuit i operated.

I have attached the reply of the Philios dynalite expert.

If we can use the on one touch messages will be very helpful.

Are you using the latest version? it should support 0x6b (fade channel to preset)

also, can you please try to run with log level debug for the dynalite components, push the switch, and see the output?