mlfunston / node-red-contrib-broadlink-control

Set of node-red nodes to manage the Broadlink home automation device suite
MIT License
44 stars 24 forks source link

button list names only appears with user defined codes #6

Closed Boco10 closed 5 years ago

Boco10 commented 5 years ago

Hello,

Node-red , RM node, device properly set, action send, device chosen, button list 9/10 is empty names only appears on the ones which was defined by me inside the app, remote device, more tab.

mlfunston commented 5 years ago

Which version of the broadlink app were you using to pull the the SharedData folder from and was it iOS or Android? Perhaps there was some change to the file format now? Can you send a copy of your SharedData folder perhaps?

jcf6288 commented 5 years ago

I was just using the econtrol app with a SP3 outlet, and the energy is different than what shows in node red vs the app. No shared data required.


From: Mark Funston notifications@github.com Sent: Tuesday, January 1, 2019 6:34 PM To: mlfunston/node-red-contrib-broadlink-control Cc: Subscribed Subject: Re: [mlfunston/node-red-contrib-broadlink-control] button list names only appears with user defined codes (#6)

Which version of the broadlink app were you using to pull the the SharedData folder from and was it iOS or Android? Perhaps there was some change to the file format now? Can you send a copy of your SharedData folder perhaps?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/mlfunston/node-red-contrib-broadlink-control/issues/6#issuecomment-450777948, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF8cFs0sD1FRSemUYHhwvgIAhaVK-HEFks5u_Bq2gaJpZM4Zf-DN.

mlfunston commented 5 years ago

@jcf6288 - This item is for issue #7 not issue #6

jairo-futurasmus commented 5 years ago

The application does not seem to assign button names to the device templates. For example, this configuration corresponds to a Samsung remote control, it only saves in the name of a button that I have assigned manually.

android 8 version: 3.8.16

jsonButton.txt jsonIrCode.txt

mlfunston commented 5 years ago

Yes, correct. The app only puts in names in the ones you manually add/learn. Unfortunately the only way I can see to assign names to those buttons in the file exported (jsonButton) would be to manually add the name into the name section of the file itself. Then it will use that name for the buttons. There is no other text to display for that button in the file.

{"id":1,"subIRId":1,"name":" ***INSERT BUTTON NAME HERE *** ","index":0,"x":0,"y":0,"type":0,"order":0,"background":"icon_1.png","galleryDrawableName":"","gallerySkinId":0}

mlfunston commented 5 years ago

@jairo-futurasmus & @Boco10 - I have added some example code to edit the broadlink files directly and add new learned commands directly. I hope this is of assistance to you. Also refer to the readme as there are perhaps some relevant comments in there about the files themselves having bad characters in them.