Comments (7)
Never mind, I spotted this in the README:
Note: If you are opening index.html file locally in Google Chrome than you will face an issue of tiles not being displayed and see an error about cross origin requests not being supported in file:// protocol. in browser's console. You can overcome the problem by starting Chrome with --allow-file-access-from-files switch or simply open the page in Firefox.
Still wonder if it should include an optional web server? Closing for now.
from tileboard.
I think we would simply ask people to copy files to www directory
from tileboard.
I've reopened it.
I think most people are using google chrome and open file directly in the browser. So most of users are get this error. And who knows how much of them are left project on this step.
So my suggestions:
a) Detect if file opened in chrome via file:// protocol, and then saying to user that is not gonna work
b) Use some plugin for development that will compile html templates right into the one js file
c) Put all templates directly into index.html file, using something like <script type="template"></script>
d) Create a simple webserver with w.g. python
For this project, I'll suggest use c) solution. It's simple and don't require any compilations.
from tileboard.
@resoai , I don't want to do that because my HA server is open to the Internet so I can access it remotely. With the way this project is currently setup, wouldn't dropping this in the www folder expose my config, most importantly my HA password?
Seems like option (c) above would be the best short-term quick fix.
from tileboard.
Homeassistant will soon move to oauth2 which will fix all our problems
from tileboard.
This problems already solved
from tileboard.
Hello
I'm accessing my HA via duckdns, but tested it having problems accessing Tilebord, what appears to me is only the background screen and the screensaver also appears. I can access the files from the tileboard directories as well. But I don't know what the screens are not showing. Can someone help me with this please?
from tileboard.
Related Issues (20)
- Unable to access TileBoard outside sidebar
- Way to be able to select playlist from Spotify on media player tile HOT 1
- Rounding numbers in Text_List HOT 1
- Samsung phones: Progressive Web App lacks service worker HOT 9
- Ping unsuccessful message HOT 2
- No standalone usage possible – URL overrides breaking function HOT 2
- Tile(TYPES.SWITCH) on popup page has no action on click HOT 3
- Global variable holding the current version number HOT 1
- Dynamic max and treshholds in gauge
- Can floorplan support be added? Like Lovelace HOT 1
- Google Calendar HOT 1
- How can put a MDI icon in state or title? HOT 2
- Problem with config addon HOT 2
- Power price widget?
- Add Countdown Timer on Screensaver
- homeassistant updated to 2023.4.2, tileboard(ipad mini2, IOS9 safari)can't working HOT 5
- If it is possable to support more map in DEVICE_TRACKER?
- Tileboard not responding in Safari
- Feature request: Abulity to disable tile fo X sec after pushing
- Page Order
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileboard.