Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Switches add on/off button even when it is not coded


Recommended Posts

Posted (edited)

Well this is annoying
not sure who came up with the idea to hard code buttons for device types, well it is a bad idea.
I think one who is capable to code a app is capable of choosing their own design


Latest beta adds on / off button to all switches even when it is not coded, multilevel switches the same things , also player device gets a pre build setup that one cannot remove

So all apps that are set as those is now broken.


before preview

Please login or register to see this attachment.

after preview

Please login or register to see this attachment.



new switch before preview

Please login or register to see this attachment.

 

After preview

Please login or register to see this attachment.

Edited by mike79
Posted

I doubt if I understand you correctly Mike. If you choose a switch like devicetype, you want it to switch (on and off)? Why would you otherwise choose for a switch devicetype? You can choose other devicetypes without those buttons if you don’t want to switch something. 

  • Topic Author
  • Posted (edited)

    You cannot choose where on off buttons is on screen very first thing.

    Why would they not just have this code in template so one can remove them if not liked.

    As a stated in another thread that this is why we need a device template  app.

    People have been using device type switch for making quickapps , not all quickapps have on off buttons

    But with this update even when loading old apps the.on off button appears 

     

    So 100 off apps that now have sliders and on off buttons that thare never was coded there

     

    I think Fibaro hates there customers, just making it harder and harder for each FW upgrade

    The one who came.up with thos bad idea to limit developers apparently doesn't care about developers. 

    No wonder people goes over to homey.

    And why hardcode it instead of just putting in the code template JFC!

     

    Edited by mike79
    Posted
    23 minutes ago, mike79 said:

     

    I think Fibaro hates there customers, just making it harder and harder for each FW upgrade

    The one who came.up with thos bad idea to limit developers apparently doesn't care about developers. 


    That is not very nice to say, behind a screen with a keyboard. I think you should take out your bad mood somewhere else. 
     

     

    24 minutes ago, mike79 said:

    People have been using device type switch for making quickapps , not all quickapps have on off buttons


    It is kind of silly to use the switch devicetype if you don’t want to switch something. You can choose from a whole bunch of devicetypes, you choose a switch. 🙃

    • Like 1
  • Topic Author
  • Posted

    So as an developer yourself you are happily when all the controller types are hard coded and you cannot just developed a app from scratch with out a lot of hard-coded junk when you start with a empty template.

    I stand buy my words that Fibaro apparently do not care about developers or they would never add such a feature.
     

    Posted

    You don’t understand the function of the devicetypes. 

  • Topic Author
  • Posted (edited)

    yes i do even if i was gonna make a device that turn of on , maybe i would like to have a option like have a label over on of buttons, now we cannot have that.
    Or maybe i would like to have a slider over the on off buttons instead of under , now we cannot have that either and so on.
    Yes we can make a generic app and do all from scratch i get that, but the point is why hardcode stuff instead of just have them in the template so people can deside for them self.

    Edited by mike79
    Posted

    You don’t like the on-off buttons of the switch and you don’t like to build your own button setup in the generic device. 
     

    You just like to discuss.

  • Topic Author
  • Posted (edited)

    Actually I like to build the buttoms myself , you just not seems to read what people write. 

    Also you  just comment just about everytime thread there is some tiny critics and suggestions  on the fibaro products.

    If people come with suggestions or request you come each time lecturing people even if it's just something people suggest .

    Could be one of the things why this forum is totally dead and no-one  just about post.

    Wonder why!

     

    Edited by mike79
    Posted

    You just like to discuss

  • Topic Author
  • Posted

    Lol and you don't.

    Posted

    Let’s see if someone wants to help you with this issue. 

  • Topic Author
  • Posted
    23 minutes ago, SmartHomeEddy said:

    Let’s see if someone wants to help you with this issue. 

    Apparently you still cannot read, it is not a problem, it is a change they made let them answer for them self.
    carry on!

    Posted

    Please login or register to see this image.

    /monthly_2024_03/image.jpeg.ce26a2d28622d820de490cf60603cd2c.jpeg" />

    • Like 1
    Posted

    This particular problem is not the greatest, as we can choose a generic type device, that has no buttons, and we can choose whatever we want, but in generalI absolutelly agree with @mike79. Possibilities for QA graphical UI elements are so poor, that even a well experienced programmer is having hard times to figure out a more complex dashboard for users. Its good to have predefined buttons for swithches, no doubt, but at least user could have a choice wheather the wants to see them, use them at all, or not, or just use them from the inner view of the QA or just from outside / through the icon press/..This is not only a problem regarding a On Off button, but the entire apporach to developers. I still do not get it, why could not they just give us more freedom, to give more designable elements, better sliders, carousels, button, label,color controlling etc..and freedom in general. Like control positioning is so strict, we can not align different controls, just those that are predefined, etc..so many things would  make our lives easier, but Mike this case can be solved by choosing a generic type device. Yes there is the HTML approach that allows some customization, but even HTML tags are so limited..anyway, i hope this will change to better in future

    • Like 1
    • 2 weeks later...
    Posted

    You need to understand that it is done like that to be in generic compliance with the system, if you are making a binary switch that is aligned with the system model this device will work with everything in the system (linked devices, scenes, profiles etc).
    If we give too much free will it will mean that you can program a binary switch which won't work (like binary switch) with other system functions.

    We were discussing the possibility of "show/hide" generic controls and actually it is in the backlog - not yet decided to be done because of the thing I mentioned above.
    Especially that, as @SmartHomeEddy stated - it is always possible to use device types that do not contain any controls by default. 

    I agree that UI is limited, from the code perspective it is possible to do a lot of other things but it is not easy.
    We are doing a lot to simplify most of the things to make it easier to work with but we can't do everything in a short period of time.

    On the other hand, you need to also understand that we have a lot of customers to look for, and power users actually writing their own integrations are in less than 2% of the people using the system. 
    That's just numbers. The same like 90% (about) of the systems do not contain any QuickApp. Anyway, as you see - we still working on those, probably not as fast as you like but still.

    • Like 1
    Posted
    1 hour ago, m.roszak said:

    You need to understand that it is done like that to be in generic compliance with the system, if you are making a binary switch that is aligned with the system model this device will work with everything in the system (linked devices, scenes, profiles etc).
    If we give too much free will it will mean that you can program a binary switch which won't work (like binary switch) with other system functions.

    We were discussing the possibility of "show/hide" generic controls and actually it is in the backlog - not yet decided to be done because of the thing I mentioned above.
    Especially that, as @SmartHomeEddy stated - it is always possible to use device types that do not contain any controls by default. 

    I agree that UI is limited, from the code perspective it is possible to do a lot of other things but it is not easy.
    We are doing a lot to simplify most of the things to make it easier to work with but we can't do everything in a short period of time.

    On the other hand, you need to also understand that we have a lot of customers to look for, and power users actually writing their own integrations are in less than 2% of the people using the system. 
    That's just numbers. The same like 90% (about) of the systems do not contain any QuickApp. Anyway, as you see - we still working on those, probably not as fast as you like but still.

    @m.roszak Dear Michal, allow me to say a few words here. I can fully understand your words, and i know that a base structure is also limiting you from giving all the free hands to people. However one thing struck me from your answer. The ratio of QAs in installations. I have never ever had any installations, where some kind of QA would not be needed. Never. And i have quite a lot installations behind myself. There is always something that customer requires, mostly dashboards, or missing plugins from Fibaro (like irrigaton usable in the app). Ofcourse giving full free hand to instalers might end in some problems, so thats clear. However, QA designing, and mostly UI desing is so limited, that it is a nightmare to construct a QA that 1. fits into a APP screen (what native app does not even support. No full screen mode) 2. It is user frienldy enough to let users do what they want. Like at this point HTML and CSS is the only way to hack something, but in new app (which is really nice) this is struggling. Lot of unusable UI controls, almost strictly the button and a label is the way to go. No way near enough for a creative constructive design, that could be made. No way to align controls, there are hardcoded groups. No way to put a button and a label in a same row, that means we take up even more space vertically in the App what leads even to more problems. One single time picker control, or color picker control or a range control can save 1000 lines of code. Anyway, thanks for your answers. We will keep in touch. PI (At least fix the buggy existing controls. Switch type button, Slider, etc, and let the native QA go fullscreen.)

    • Like 1
  • Topic Author
  • Posted (edited)
    7 hours ago, Neo Andersson said:

    The ratio of QAs in installations. I have never ever had any installations, where some kind of QA would not be needed. Never

    I totally agree on that part almost every time i get a new device i would need to code some kind of app to make it work with everything else, i use off course the basic switches,  but mostly is the other things that one have to adapt ,also other none devices that needs to adapt to devices at home.
     

    Examples
    got gas prices app that make the lights blink when under a suddern price

    Please login or register to see this image.

     

    Got electric prices app that sets the price in home senter so data is correctly calculated alot of HTML went into this one control the water heater and many other devices in the house

    AP1GczNvTUr4jsuvbSAt9f1tWjON6eg4lfDqDPKJVT2dHW_nb2Wk0Nq2VJ24o9cdDAFwH0GVVAZkmDX0sNqx9WlNAQDiVmM3kIY5L-DBLCk0bOR5AtdiuZ2St9az4H3Ur_A4PD_C2yW9Xn1vqjTviA8AVGt6QdBgbTPmGu8G7wyXNqlU6qP53TqOK7nH0cyedjcaDcn7pY00TF74M6DDncKSwzOEh_W7uKruOPY33d9bq7rEgd3ZaIDz58c5zZSZfEs02eX3f4nmGN1e2dQaDTccxO42mHwMlEHgOoW4hbXuuJZ3C5dbVjtnc7tpFMEuBTbtclcOp0_og9a-ZnRqDohaX485e4mYpKXsMq9TWwv7_b9IQv1jhuWmDTdG2ZCArt3E2IzBcwV9bkPVsjlEKif_zDgPmBfL8Vsz8P9Zn7doaD38Xov-i19uWRdH7tgZiXjfSFbRUPEeTpeElKtBdQf1MzsEns2GP6s6Hih5a63lqK6Nxf6-H25sSi9Dk8pR2SxfFyzK3pTOChPB3V0LoPSbnaMNtm9aJ_Jp58jw-cq5il6ifBP84_ptKrtav7kwdjLbfUFVAYORrx7NavoRfxbGskTjnwq4K45-Iqq8Tr4vZdPNCd_2pprTlHpsOtwatz0_Hplh8io-RwKf0PLGJonZbmv-uqN4olAeGrv--3iv63-ey3I6gJ_BzGHuUMgOnt7eudZ6_9qxx2I6KpmIMvWtXeN81JqOzbPx0jZ23oRy2UgrPW6sXYjzrXbOiXg94ePBkkDInCH3H0AD0F0w5xOhq8HnqgcEC5_kEp9UHuuXRyEPBzyIZzxgQ0JKadAMozZLWpPpuWbFJeMAePWJB6z1LhzMU6cBKaUBhwGZe5LGh2AGIYQc-CnpPKp7wX1VOjzrODNqIeS4UqUmfzjeldr_tUJYoY5J=w819-h1755-s-no-gm?authuser=0

     

    traffic app that interact with AI and warns via lights if there is much traffic when i wake up so i can take the bus instead new firmware puts on/off buttons on that one

     

    AP1GczOs8KW7ejH5NE-55kl-8wbx2jKFbqhGcTkS8yjQt_SJK0CZMk2gO2ffunYKOiiPFQVMM_6EV472vn8BdII7Munksm59vjZpjBeWPIDbaKUzx3z3K9VFICkYo5RvbkQxpOIlM0pvzJaJbKFtpfAXIzyJ_gW1q_ZRMdM0kInLRJdWeuh5O0ufaoICE0KeU3PGNxIFrUaAKDSQRpljYijfqJVYm_MBax0a0zoaAmsQvbIg7RyeQkWUOMsRNl54WBbPb2M5iKXwVxj6RVvtQdDISeeBS-hG6H32B7mDolcYnMMsJXIy0EdTnOSSwVt0dXSlfhA09DRDs1rgBM_5V2Ij1ZdnDXHBQm7__jgyDbleW2Xw3Ta42GdZ42Xk1hse6QNbhS3g-EZCfHSvQrvf0aU6pyj4RPRXQmRmjXgAs4Vcqc8AyS6lWMdT7TMVhd0b2mnpwwqcTrrFJU74GXVCueTT10ZkRf8VX10mbPRFpdDwZVE-xJVXaX9MrOF3c6v1aGH8Y1S6z6tXPh-NuLwQ19VJOZrVfbCpaBLEPDtFeAwinYCMCY1VvvOBl5oF7SN3JuPLaCYOsG-OL5A8AaZF_HxbQ0KiWA1LMN-WLk_vstod-ZAGDxNFcXuLceKgUlcH1LwCRA5n_QkZGKDOjLOZLAuIW5IifdBpADHUOrXEgwXkiyFVxBIsOf7fKfXldgYUMQ054sbINgvqTP547hYAgK_fevFUIBkC-9d73JPNTNEK4CWSotvUM3EyW_hlmQxgD6XSOdfTdc3UcTRndZvCuZav1pai5L4FYMAdisVCAQYlRJ4YzM533rIcim5CtTMsXf7Z87enAt74fJUttkvbfgFCVqOaPea9zrNumOML93uRBex7YPQtkvV03v169Cvkcs-ecuEC4gkJd8kWBzTJLcloF_erpFmG=w819-h1755-s-no-gm?authuser=0

     

    Bus app that makes the morning coffe on time , and light that tell med i have to hurry if i wanna catch the bus

    AP1GczNetIcNGK32xrEdlN-2Lv7wAvue7bybJg6ZecruAy0CAm5jIC-6GkXUyCSePGjLnKGQCJOowv4wO3h8h4zOSJ43VR1gRWoJkUcbKMcGibiWIG50VmAnPnY4IjXO0608oWmGKF4m_PWVULlB0UNHBvY2h9gcSpEbuYhi6bwbsnmfaUweBf9DwhwKuVdL9-Po9z1pncxOjcN5QtzTHoc3IQM3BE2ytcEKyG-1s1CFYQcHcW3iP9dXucsL1yqmEUu4s4DF6I6RgOLqh954Q7RiD7BVd-wU6LXtI1ZJGxPK8C-DsL7YCmitvPUI8eqCeKvjB7XO8mdFtt-LhORBbdhjoc3AOpdH78In71F8bkFLiLRialw8OC6iQiiE6nUDTLueCHZal-9Kbo67J2DLW5vvs0I34KINhEb341idkwRaWg_1vcmCSVBj_UvjeyK9pM8tssMgZDvEe6nMrIGsa-jYtg_ZK4816YSf21BUBBbdtHccVyeMxo_f51t6S_vLWkX0iT2YCZjStBZsOYuNoQgcUs-NjYsRCmAoDKY2DIobBO0q-EdF0UyPJ4c0-k2rdOdudeIld0nenU-y6GY_BwIv1xa7Zmk3QBzkbSU2RcTTNwMgZyMHuaEv5Q7LVgFpyHm4FXH9cnZ7vPlSllWcB9DMCIIrV6yLvnNd4EbsiaDTFU6ndOt0R2hU1rh5ElIK-SjxFodVl6T9pOIrYjwrDfs1cvRDLQAsKNRYesIle-mgMJIRZUaYdgIBamiFPWbvZY8psQ3vsnvvJvDhAeY-GzSPsrjAvKaW9ypzrWC-AT50IKSXLa41dgM9FvTqPqj4UC32rcTRPk11LhZBz_7OxihkOzla41926RAl17def1HDa7pus8fL4WmvTJ_DF3fAkjuaqrj0T9QJNamZ65jKXJWK93800fB-=w1080-h1342-s-no-gm?authuser=0

     

    Edited by mike79

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...