Announcement

Collapse
No announcement yet.

Jon00 HS3 Device Creator for HS4

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

  • jon00
    replied
    Originally posted by SmartyPants View Post

    Nice. I'll try it later when home.

    Thanks
    Did it make any difference to your device issues?

    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post
    It should all be sorted in this new version....
    Nice. I'll try it later when home.

    Thanks

    Leave a comment:


  • jon00
    replied
    It should all be sorted in this new version....

    Leave a comment:


  • SmartyPants
    replied
    Looks ace Jon.
    Are you a robot? You seem to produce this stuff at rapid pace lol.

    Have you got around the other issue we discussed regarding missing controls?

    Leave a comment:


  • jon00
    replied
    Version 1.0.1 is now available.

    Changes since V1.0.0:

    Added Voice Command Text field.
    Added User Notes field.
    Added Device Type String field.
    Added Amazon Alexa Discovery and Google Home Discovery check boxes.
    Added check box to create standard On/Off button with Graphics.
    Added 8 optional user defined buttons.
    Added optional user defined range slider.

    Click image for larger version

Name:	HS3VDCreator.png
Views:	300
Size:	156.3 KB
ID:	1523789

    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post
    OK, I added some test code to force creation of buttons and they are not showing either. Definitely a bug. I'll contact Rich as well.....
    Ok cheers. Good. At least I'm not off daft

    Leave a comment:


  • jon00
    replied
    OK, I added some test code to force creation of buttons and they are not showing either. Definitely a bug. I'll contact Rich as well.....

    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post
    It does sound like a bug then. I'll have a play with this later in the week. Just need to get HSTile docs done first.....
    Yeah no worries Jon, just keeping you in the loop. I'm taking to support right now but struggling to make my point

    Leave a comment:


  • jon00
    replied
    It does sound like a bug then. I'll have a play with this later in the week. Just need to get HSTile docs done first.....

    Leave a comment:


  • SmartyPants
    replied
    So I've tried creating a VD using the legacy HS3 interface, which seems to create the device properly with on and off buttons, but it won't control using json with the same errors in the log : controldevicebyvalue ref xxxx value not found

    Leave a comment:


  • SmartyPants
    replied
    I've just checked and some of my older hs3 created VDs have 'support status' as false and they still work.
    so I'm more confused, there seems to be no consistent reason why the control buttons are missing and json commands don't work.

    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post

    The only way to create a new device in HS4 is to go the devices page (which grouping links to) and press the circular blue + button on the top RHS of the page. Grouping has never created its own device directly; only that provided by HS.

    Jon,

    I've noticed a few issues.
    When I create a device in your HS3 Device Creator, it populates the 'support status' field with false. This is only seen in HS3 device management pages and not HS4.
    Point is, it's the only thing I can see that may be causing the following issue. Once I've created this device with the usual on/off controls, when I try to control it via JSON it does nothing and I get the error in the log: JSON controldevicebyvalue ref 2413 value not found

    Yet clearly the device exists and it has the proper status/graphic pairs. Also keep in mind this works fine with older VD's.
    The other thing I've noticed is that while the option to change status,both and control exists and is set to 'both' in the status row in the edit section, when I view the device management page in HS4 or HS3 the buttons that you can press to set the value do not appear. This is part of the issues I've been seeing with HS4.
    Not sure if that makes sense but they are the two differences I can find between working VD's and non working ones.

    See attachments:

    Click image for larger version  Name:	status-pairs.jpg Views:	0 Size:	43.6 KB ID:	1522943
    Attached Files

    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post

    The only way to create a new device in HS4 is to go the devices page (which grouping links to) and press the circular blue + button on the top RHS of the page. Grouping has never created its own device directly; only that provided by HS.

    Oh I see, thanks.

    Leave a comment:


  • jon00
    replied
    Originally posted by SmartyPants View Post

    One question, there was an option in the grouping utility to create new parent/root device.
    When I click that, it takes me back to the main device page and I cannot find any new device.
    The only way to create a new device in HS4 is to go the devices page (which grouping links to) and press the circular blue + button on the top RHS of the page. Grouping has never created its own device directly; only that provided by HS.


    Leave a comment:


  • SmartyPants
    replied
    Originally posted by jon00 View Post
    The answer is yes:

    Click image for larger version

Name:	Capture.PNG
Views:	314
Size:	24.8 KB
ID:	1522830

    Click image for larger version

Name:	Capture1.PNG
Views:	317
Size:	20.0 KB
ID:	1522831

    I did read your other posts about this but you did not explain what issue you are having exactly?
    I've put a ticket into support because the system is buggy as hell and I know I'm not the only one.
    It's just not possible to create a valid virtual device from scratch.
    If I try, various different issues occur depending on the phase of the moon it seems.
    Usually, the root device creates, but under features/child there isn't any, then under status /graphics there is a heading control (which should also appear under feature) and the usual standard setup with 2 rows 0 = off, 100 = on, then the respective graphics. But you cannot change status/both/control options because they are just not there. If you go into HS3 legacy pages they usual show up, but then nothing works properly on the device.

    I also end up with ghost entries in the HS log referencing root or child devices that have been created and then possibly deleted or devices that were never created properly and just cause reference issues somewhere. If this continues, my HS DB is going to be full of redundant broken links.

    Anyway, usually cloning VD's works but even that has been iffy lately.

    I'll use you method if that works.
    Will let you know, thanks.

    One question, there was an option in the grouping utility to create new parent/root device.
    When I click that, it takes me back to the main device page and I cannot find any new device.

    Leave a comment:

Working...
X