OhMyHA 100% local
One frozen file, installed in your Home Assistant by the OhMyHA integration or copied by hand. It never loads code from the Internet: even if our site were hacked, nothing could run in your home.
Download it from the studio
The download asks for your licence key (the studio sends it by itself if you already typed it). Everyone gets the same file. Since version 1.1.0, the premium themes you own work locally too.
SHA-256 :
fc58cc0264ba0342e6aca8482256049a0de330bad5b1c3d508dcb31b1210474fTo check:
sha256sum ohmyha.js (Linux, macOS: shasum -a 256, Windows: certutil -hashfile ohmyha.js SHA256).Install with the OhMyHA integration (recommended)
The free OhMyHA integration downloads the file, checks its SHA-256 fingerprint and adds it to your resources. New versions show up in Settings › Updates and only install when you click. Its code is public on GitHub.
- Add the integration in the Home Assistant Marketplace (HACS): Open in Home Assistant. Until it joins the official catalogue, Home Assistant asks you to add it: click Add, then Download.
- Restart Home Assistant: Settings › System › Restart.
- Add the OhMyHA integration, paste your licence key and purchase e-mail, keep 100% local and confirm.
- Already added
ohmyha.jsby hand? The integration detects it: pick Replace.
Or by hand, without the integration
- Copy
ohmyha.jsinto Home Assistant's/config/wwwfolder (create thewwwfolder if missing), with the File editor, Samba or Studio Code Server add-on. - If you just created the
wwwfolder, restart Home Assistant once. - Open Settings › Dashboards › Resources, add
/local/ohmyha.js?v=1.4.20as a JavaScript module. - You had the old resource
https://ohmyha.com/ohmyha.js? Delete it.
What the file does
- Applies your design, your skins (Christmas, Epic, Sunset 86…) and the dials, with the code inside the file.
- Provides card-mod, Mushroom, stack-in-card, navbar-card and kiosk-mode if you don't have them (unchanged copies of the official files, inside the file).
- When YOU open Home Assistant from the studio: sends your entity list to the studio, inside your browser. To install anything, it shows the list in Home Assistant and waits for your click on “Allow”.
- Skin subscription: asks ohmyha.com which decor to show and until when. The answer only holds dates and colours, checked by the file.
What it never does
- Load or run code from the Internet.
- Open access to your Home Assistant from outside, or send your token to anyone.
- Install an integration, or any card besides the 5 public cards above.
- Update itself: you install a new version when you want (one click with the integration).
Skin palette and new themes
Online, the palette button at the bottom left of the dashboard switches skins without regenerating, and new themes arrive by themselves. In 100% local mode, the palette and the “Animate the decor” switch are in the file since version 1.1.0, with the premium themes you own. The file never changes by itself: for a new theme, install the new version (one click in Settings › Updates with the integration; by hand, download the new ohmyha.js from the studio and replace the old one in /config/www). Regenerating the dashboard is not enough.