Homey.ink on a tablet/desktop

Works, thanks!

Hello ,

Thank you so much
The change for the date format in index no longer works?

Date


<!-- Begin
var now = new Date();
var days = new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi");
var months = new Array("Janvier","Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Decembre");
var date = ((now.getDate()<10) ? "" : "")+ now.getDate();
function fourdigits(number) {
    return (number < 1000) ? number + 1900 : number;
}
today = days[now.getDay()] + " " +
             date + " " +
             months[now.getMonth()] + " " +
               (fourdigits(now.getYear())) ;
document.write(today);
// End -->

fr.json

  {
    "favorite-flows": "Flux préférés",
    "favorite-devices": "Appareils favoris",
    "text" : {
        "good": "Bonne ",
        "evening": "soirée",
        "afternoon": "aprĂšs-midi",
        "morning": "matinée",
        "night": "nuit",
        "today": " Aujourd'hui nous sommes ",
        "the": "le",
        "of": "de"
    },
    "notification": {
        "title": "Notifications récentes",
        "nonotification": "Pas de nouvelles notifications"
    },
    "weather": {
        "title": " Information météo pour ",
        "temperature": "La température actuelle est ",
        "degrees": " degrés, ", 
        "humidity": "le taux d'humidité est de ",
        "pressure": "% et la pression atmosphérique est de ",
        "mbar": " mbar"
    },
    "sunevent": {
        "presunrise": "Le soleil se lĂšvera Ă  ",
        "postsunrise": "Le soleil s'est levé à ",
        "presunset": " et levera Ă  ",
        "postsunset": " et couchera Ă  "
    },
    "battery": {
        "title": "Informations batteries", 
        "in": " dans la zone ",
        "has": " Ă  ",
        "left": "% de batterie"
    },
    "sensor": {
        "title": "Informations capteurs",
        "in": " dans la zone ",
        "alarm": " est en état d'alarme.",
        "noalarm": " Il n'y a pas de capteur en état d'alarme."
    }
}

Big thanks
Cordially

1 Like

When I run the server on my Mac, and then try localhost or ip adres on my iPad / iPhone, I get 'safari kan de pagina niet openen omdat er geen serververbinding mogelijk is ’ ??
How do i solve this ??

login via my Mac works


Thanks for the French translation, added it to the project.
The change for the date format isn’t from my version as it’s static, I will add dynamic localisation for that so it also uses the lang= parameter.

1 Like

What’s the exact command you use to run the server, what’s the exact url you go too? What happens when you do telnet localhost 5000 in a terminal session?

Johannes$ telnet localhost 5000
Trying ::1


Connected to localhost.

The link I use
http://localhost:5000/?token=xxxxx&theme=web&lang=nl

The link does work on Mac, but not on ipad/iphone

Norwegian translation:

{
    "favorite-flows": "Favoritt flows",
    "favorite-devices": "Favoritt enheter",
    "text" : {
        "good": "God ",
        "evening": "ettermiddag",
        "afternoon": "formiddag",
        "morning": "morgen",
        "night": "kveld",
        "today": "I dag er det ",
        "the": "den",
        "of": " "
    },
    "notification": {
        "title": "Nylige hendelser",
        "nonotification": "Det er ingen hendelser"
    },
    "weather": {
        "title": "V&aelig;r informasjon for ",
        "temperature": "Temperaturen er ",
        "degrees": " grader, ", 
        "humidity": "luftfuktigheten er ",
        "pressure": "% og trykket er ",
        "mbar": " mbar"
    },
    "sunevent": {
        "presunrise": "Solen vil g&aring; opp klokken ",
        "postsunrise": "Solen gikk opp klokken ",
        "presunset": " og vil g&aring; ned klokken ",
        "postsunset": " og g&aring; ned klokken "
    },
    "battery": {
        "title": "Batteri informasjon", 
        "in": ": ",
        "has": " har ",
        "left": "% igjen"
    },
    "sensor": {
        "title": "Sensor informasjon",
        "in": " i ",
        "alarm": " er aktivert av alarm.",
        "noalarm": " Det er ingen sensorer som er aktiverte av alarm." 
    }
}
1 Like

French, Norwegian and German are added now.

@anon2681894 from other devices you’d have to use the IP address of your Mac, make sure you can pass through your Macs firewall.

3 Likes

I’m trying to run Homey.ink from my Synology nas server, but without any luck.
Is there anyone who would like to help and assist me with this?
(If possible I’ll send a personal message with all the details and steps I’ve already taken.)

Send the pm, no problem

1 Like

Thanks, I have send you a PM

Interesse in Limburgs :wink: #geintje

1 Like

When I drink enough I can do that myself :rofl:

('t is namelijk geen kwestie van geduld maar van alcohol :wink: )

1 Like

I tried the latest version, but the Ui is still in english? No German :man_shrugging:

I can help. Running on synology NAS too :slight_smile:

have you put the:&lang=de in url?

1 Like

Swedish translation, hope I can use “ÅÄÖ”
I can change to html versions if needed
http://www.konvertera.se/ÄÀö.php

{
“favorite-flows”: “Favorit flöden”,
“favorite-devices”: “Favorit enheter”,
“text” : {
“good”: "God ",
“evening”: “eftermiddag”,
“afternoon”: “förmiddag”,
“morning”: “morgon”,
“night”: “kvĂ€ll”,
“today”: "I dag Ă€r det ",
“the”: “den”,
“of”: " "
},
“notification”: {
“title”: “Nya hĂ€ndelser”,
“nonotification”: “Det finns inga hĂ€ndelser”
},
“weather”: {
“title”: “VĂ€der informatio”,
“temperature”: "Temperaturen Ă€r ",
“degrees”: " grader, ",
“humidity”: "luftfuktigheten Ă€r ",
“pressure”: "% och trycket Ă€r “,
“mbar”: " mbar”
},
“sunevent”: {
“presunrise”: "Solen kommer gĂ„ upp ",
“postsunrise”: "Solen gick upp klockan ",
“presunset”: " och kommer gĂ„ ner ",
“postsunset”: " och gick ner "
},
“battery”: {
“title”: “Batteri information”,
“in”: ": ",
“has”: " har “,
“left”: “% kvar”
},
“sensor”: {
“title”: “Sensor information”,
“in”: " i “,
“alarm”: " har aktiverat alarm.”,
“noalarm”: " Det Ă€r inga sensorer med alarm.”
}
}

1 Like

Thanks! It’s added. The Ă€ and Ă„ characters show up correct, no problem.

1 Like

Thanks! :wink:

Date is also localised now:






4 Likes