What might I be doing wrong from first "Create your First New Script"

I get so far in mouse-button-poking the gui to create a script and then it glitches out and dumps me back to “Create your first script” at http://homeassistant.local:8123/config/script/dashboard

I got here on the Home Assistant dashboard by going through

Settings > Automations & scenes > Scripts

then selecting

(+ Create script) > Create new script > (+Add action)
Helpers> Input Number > Set

The same happened just after the box appears on the right with a blue (Save) momentarily lower left of it, after going back to the same place and selecting

Helpers> Input Number > Increment

That is, at the moment when it should try to create my first script in memory, it seems to glitch out instead.

The same happens if instead of selecting number from Helpers I select number from the top few things, for which I select the only option Set. That momentarily opens a full width dialog window then glitches back to “Create your First New Script”.

I’ve read the docs and it seems that most users don’t get caught out at this early stage. What should I test or try to fix to make it work ?

could be a browser issue, try with different browser or once in private browser mode

Memory Usage of Home Assistant in my browser reports as 64.1 MB.
Memory Usage of this forum webpage presently reports as 111 MB, and I’ve seen much higher from ordinary news websites.

I’m browsing from a raspberry pi 2 with 1GB of memory.

top presently reports
MiB Mem : 921.0 total, 182.6 free, 579.6 used, 245.4 buff/cache
That is, should HA wish to double its memory use at the browser, there was more than that promptly available.

Oof those specs are woefully underpowered I’m afraid, raspberry pi 4 or higher is recommended with 2 GB of RAM: Raspberry Pi - Home Assistant

Minimum requirements for Home Assistant used to be RPi3B with 2GB, but since that does not exist it was pushed up to RPI4. Some report it to work in a RPI3 with 1GB but I never heard anyone running it off an RPI2. So that might be your problem right there.

Having said that, the followup question was about browsers. It would also be nice to know what version of HA you are running.

I screenshot the thing from the bottom of Settings. I thought that updates had done 12.3 but it says 16.3
Home Assistant (HA) is on a Raspberry Pi 4, 64b, with 4GB memory

Oh wait. I missed the browsing part. I’d try using a regular PC and browser or a recent mobile device first. I doubt anyone ever tested your browser config.

Does anything in the javascript which gets used from latest updated HA need to be browsed from a 64 bit web browser ? Has anyone got a counter-example of successfully browsing Home Assistant from an older computer with a 32 bit everything ?

Missed it too…

Can you try creating it from your phone, either via the web or via the companion app? I have no idea if other people are using 32bit systems to browse.

Might this be anything to do with my limitations ?


My default user doesn’t have permissions “Sys…”
No idea what those do. Before changing that, has anyone, ever, anywhere, got HA to create a script soon after a clean install without changing that ?

No the user rights have nothing to do with it, your user is owner and should be able to do what you want.
I think you can re-size the columns if you want to see what is written.

Thanks for comments that I shouldn’t need to change the “Sys…” permissions of default user-owner

Created a new user with pw to log in with from the Android, and even after a full restart of Home Assistant, I’m still not getting logged in, and still getting failed login attempt notifications on Notifications at lower left of the full sized rendering of the Dashboard. Is there likelihood that a browser user-interface which can’t create a new script also can’t create a new user, and at what point in creating a new user should I find that out ?

[edit] eventually and several tries later it did log in at the Android. Remote control of a fan heater by “smart plug” immediately demonstrated off a touchscreen handheld device, thanks to sensible layout of the default Overview.

[edit] from Android14 with 1GB of RAM, exactly the same sequence as above to create a new first script seems to have done that. I asked it to increment and then decrement a number helper, several times closing sections at x to find the action which I’d need on a small touchscreen, and pressing on the blue (Save). scripts.yaml does not say anywhere which number helper that should be poking, and I wasn’t asked.

[edit] back at the Pi 2, > Settings > ?&? > Scripts > now lists a New script which was editable from here and contained recent extra actions which had been added from Android. Disabled the not-working increment and decrement and saved. From … to the right of this New script, got it to run and switch the fan heater.

[findings] There seems to be something wrong at creation in memory, from at-least one 32-bit browser, of any new script. I’d had glitchy creation of new first automation too, getting glitched out at creation of a When in one attempt and at creation of a Then Do in the other.

Duplicate from … far right of the existing script in the 32-bit browser at http://homeassistant.local:8123/config/script/dashboard did make a duplicate and append that to the relevant scripts.yaml
Moving content of scripts.yaml to somewhere else linked to from configuration.yaml, and hand editing that content, including hand typing in the icon all worked, after Developer tools > Check configuration shows green and doing All YAML configuration.

It was only by hand editing yaml that I got to having automations for on and off which had both of the necessary When and Then Do items. So failure at creation of a new script is not the only to-do for the bugfix people. At least the interface falls back to a few steps before.

Anyone remember The Blue Screen Of Death from 1990’s computers? These failures seem to demonstrate that Home Assistant doesn’t do that.

At least I have a working first script to work from.