Page 8 sur 13

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 11:23
par vincenzi1
lol ba oui mais bon je découvre le truc du coup je m'avance pas :P

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 11:26
par parrain27240
Aller pelte pelte mdrrr

Envoyé de mon Redmi 4X en utilisant Tapatalk


Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 11:48
par vincenzi1
rigole rigole

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 15:56
par parrain27240
Comment peut-on mettre une phrase sur deux ligne et rapprocher les températures du nom .
Ex:
Salon: 23
Et pas Salon : 23

Voir photo ci-jointeImage

Code : Tout sélectionner

/* Magic Mirror Config Sample
 *
 * By Michael Teeuw http://michaelteeuw.nl
 * MIT Licensed.
 *
 * For more information how you can configurate this file
 * See https://github.com/MichMich/MagicMirror#configuration
 *
 */

var config = {
	address: "localhost", // Address to listen on, can be:
	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
	                      // - another specific IPv4/6 to listen on a specific interface
	                      // - "", "0.0.0.0", "::" to listen on any interface
	                      // Default, when address config is left out, is "localhost"
	port: 8080,
	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
	                                                       // or add a specific IPv4 of 192.168.1.5 :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

	language: "fr",
	timeFormat: 24,
	units: "metric",

	modules: [
		{
			module: "",
		},
		{
			module: "",
			position: "top_bar"
		},
		{
			module: "clock",
			position: "top_right"
		},
		{
			module: "",
			header: "US Holidays",
			position: "top_left",
			config: {
				calendars: [
					{
						symbol: "calendar-check-o ",
						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
					}
				]
			}
		},
		{
			module: "",
			position: "lower_third"
		},
		{
			module: "",
			position: "top_right",
			config: {
				location: "New York",
				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "",
			position: "top_right",
			header: "Weather Forecast",
			config: {
				location: "New York",
				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "",
			position: "bottom_bar",
			config: {
				feeds: [
					{
						title: "New York Times",
						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
					}
				],
				showSourceTitle: true,
				showPublishDate: true
			}
		},
		{
			module: 'MMM-Jeedom',
			header: 'Maison',
			position: "top_left",
			config: {
				updateInterval: 1000,
			      	jeedomAPIKey: "ErcAR7t5LCfA6XGftgyhrtfydsfdrttrNkQshxmT", 
				jeedomURL: "192.168.0.35",
				jeedomPORT: 80,
				jeedomHTTPS: false,
				jeedomAPIPath: "/core/api/jeeApi.php",
				sensors: [
				{//first info (value and unit only)
					idx: "5004", 
					sameLine1: true,
      				},	
				{//second info (title, symbol, value and unit)
					idx: "3551", 
					customTitle: "Condition",
					symbol: "",
					sameLine2: true,
      				},
      				{ //this one display only 1 info on its line
					idx: "6013", 
					symbol: "",
					customTitle: "Salon :",
                                        unit : "degres",
      				},
				{//this one display only 1 info on its line
					idx: "6018", 
					symbol: "",
					customTitle: "Chambre :",
                                        unit : "degres",
      				},	
				{//this one display only 1 info on its line
					idx: "7319", 
					symbol: "",
					customTitle: "Exterieur :",
                                        unit : "degres",
      				},

				{//this one display only 1 info on its line
					idx: "7318", 
					symbol: "",
					customTitle: "Piscine :",
                                        unit : "degres",
                                },

				{//this one display only 2 info on its line
					idx: "5676", 
					symbol: "",
					customTitle: "Horoscope Papa :",


      				},
                                 
                                {//this one display only 2 info on its line
					idx: "5686", 
					symbol: "",
					customTitle: "Horoscope Maman :",
      				},

				{//this one display only 2 info on its line
					idx: "6924", 
					symbol: "",
					customTitle: "lumieres :",
                                        unit : "",
      				},			]
			}
		}
	]

};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Envoyé de mon Redmi 4X en utilisant Tapatalk

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 16:09
par prysme
Il faut que tu joues avec les css ou que tu mettes les mains dans le code dans la partie getDom du plugin. C'est pas trop prevu pour y mettre des phrases a rallonge.

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 16:33
par parrain27240
bon pas grave je ferai autrement^^

par contre serai tu comment mettre le module MMM-FreeBox-Monitor
je n'est pas trouver de git clone

j'ai fait comme ceci mais erreur

Code : Tout sélectionner

/* Magic Mirror Config Sample
 *
 * By Michael Teeuw http://michaelteeuw.nl
 * MIT Licensed.
 *
 * For more information how you can configurate this file
 * See https://github.com/MichMich/MagicMirror#configuration
 *
 */

var config = {
	address: "localhost", // Address to listen on, can be:
	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
	                      // - another specific IPv4/6 to listen on a specific interface
	                      // - "", "0.0.0.0", "::" to listen on any interface
	                      // Default, when address config is left out, is "localhost"
	port: 8080,
	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
	                                                       // or add a specific IPv4 of 192.168.1.5 :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

	language: "fr",
	timeFormat: 24,
	units: "metric",

	modules: [
		{
			module: "",
		},
		{
			module: "",
			position: "top_bar"
		},
		{
			module: "clock",
			position: "top_right"
		},
		{
			module: 'MMM-FreeBox-Monitor',
		        position: 'top_left',	// This can be any of the regions. Best results in left or right regions.
		        config: {
			mirrorName: "My Magic Mirror",
			ip: "http://192.168.0.254"
			// See 'Configuration options' for more information.
					}
				]
			}
		},
		{
			module: "",
			position: "lower_third"
		},
		{
			module: "",
			position: "top_right",
			config: {
				location: "New York",
				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "",
			position: "top_right",
			header: "Weather Forecast",
			config: {
				location: "New York",
				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "",
			position: "bottom_bar",
			config: {
				feeds: [
					{
						title: "New York Times",
						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
					}
				],
				showSourceTitle: true,
				showPublishDate: true
			}
		},
		{
			module: 'MMM-Jeedom',
			header: 'Maison',
			position: "top_left",
			config: {
				updateInterval: 1000,
			      	jeedomAPIKey: "ErcAR7t5LCfA6XGdTjhgjyugyugyurNkQshxmT", 
				jeedomURL: "192.168.0.35",
				jeedomPORT: 80,
				jeedomHTTPS: false,
				jeedomAPIPath: "/core/api/jeeApi.php",
				sensors: [
				{//first info (value and unit only)
					idx: "5004", 
					sameLine1: true,
      				},	
				{//second info (title, symbol, value and unit)
					idx: "3551", 
					customTitle: "Condition :",
					symbol: "",
					sameLine2: true,
      				},
      				{ //this one display only 1 info on its line
					idx: "6013", 
					symbol: "",
					customTitle: "Salon :",
                                        unit : "C",
      				},
				{//this one display only 1 info on its line
					idx: "6018", 
					symbol: "",
					customTitle: "Chambre :",
                                        unit : "C",
      				},	
				{//this one display only 1 info on its line
					idx: "7319", 
					symbol: "",
					customTitle: "Exterieur :",
                                        unit : "C",
      				},

				{//this one display only 1 info on its line
					idx: "7318", 
					symbol: "",
					customTitle: "Piscine :",
                                        unit : "C",
                                },

				{//this one display only 2 info on its line
					idx: "5676", 
					symbol: "",
					customTitle: "Horoscope Papa :",


      				},
                                 
                                {//this one display only 2 info on its line
					idx: "5686", 
					symbol: "",
					customTitle: "Horoscope Maman :",
      				},

				{//this one display only 2 info on its line
					idx: "6924", 
					symbol: "",
					customTitle: "lumieres :",
                                        unit : "",
      				},			]
			}
		}
	]

};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}

Et au passage j'ai pas trouver y a t'il un module pour récupérer les notifs de telegram dans mon cas c'est les photo qui m’intéresse

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 17:47
par vincenzi1
tu a bien associer le magicmonitor a la freebox ?

Re: Module Jeedom pour MagicMirror²

Publié : 19 sept. 2018, 18:31
par parrain27240
bah justement comme je dit je trouve pas mdrr

Re: Module Jeedom pour MagicMirror²

Publié : 20 sept. 2018, 21:50
par vincenzi1

Re: Module Jeedom pour MagicMirror²

Publié : 20 sept. 2018, 22:24
par parrain27240
Voui non mais je pense vais passer par un design noir comme je tes dit a l'école ^^

Envoyé de mon Redmi 4X en utilisant Tapatalk


Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 12:47
par BaaTuuC
Hello
J'arrive enfin a avoir quelque chose :)
Pour infos quelques infos qui existe bien sur la doc mais qu'il me parait utile de mettre en avant: pas de version light de rasbian, et ne pas utiliser root pour installer :)

Comment vous gerer le fait d'avoir un écran qui s'allume s'eteind ? J'ai branché le mien sur une prise ZWave piloté par mon jeedom pour a minima l'éteindre la nuit quand je suis absent .. seulement quand mon écran se rallume il ne récupère pas le signal HDMI du rpi .. je dois reboot le rpi

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 13:21
par BaaTuuC
Au passage j'ai pas mal de symbol que je n'arrive pas a utiliser .. Vous avez le meme souci ? Je n'ai pourtant pas d'erreur de syntaxe a priori .. par exemple le "fas fa-futbol" ou fas fa-weight"

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 13:55
par Tarlak
BaaTuuC a écrit :
21 oct. 2018, 12:47
Comment vous gerer le fait d'avoir un écran qui s'allume s'eteind ? J'ai branché le mien sur une prise ZWave piloté par mon jeedom pour a minima l'éteindre la nuit quand je suis absent .. seulement quand mon écran se rallume il ne récupère pas le signal HDMI du rpi .. je dois reboot le rpi
Pour ma part j'ai ajouté ce module a magicmirror https://github.com/Jopyth/MMM-Remote-Control qui me permet d'appeler via une requette http une url qui eteint ou allume l'ecran exemple :

Pour allumer

Code : Tout sélectionner

http://ADRESSEIPDURASP:8080/remote?action=MONITORON
Pour eteindre

Code : Tout sélectionner

http://ADRESSEIPDURASP:8080/remote?action= MONITOROFF
Du coup avec le plusing script de jeedom je m'en suis crée deux avec juste ses lignes, que j'appel comme j'en ai envie par exemple avec mon detecteur de présence

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 19:07
par BaaTuuC
Merci pour l'info je le note.
Le souci c'est plus au niveau hard, j'ai l'impression que mon écran ne capte pas bien le signal de mon écran ..

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 19:10
par PrFalKeN
'jour

l'écran ne capte pas le signal de l'écran... désolé là je ne te suis pas

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 19:46
par BaaTuuC
PrFalKeN a écrit :
21 oct. 2018, 19:10
'jour

l'écran ne capte pas le signal de l'écran... désolé là je ne te suis pas
il affiche "no signal please verify your connection" au bout d'un certain temps. Il perd le signal HDMI quoi .. faut que je regarde dans les menus comment virer la veille .. bon faut déja que je retrouve les boutons :)

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 19:51
par BaaTuuC
QUi plus est la commande monitorOn du plugin recommandé par Tarlak ne semble rien faire .. alors que off coupe bien .. :(

Re: Module Jeedom pour MagicMirror²

Publié : 21 oct. 2018, 20:27
par Tarlak
Tu as peut être un soucis d'intensité du signal sur le port hdmi du rasp j'avais eu un petit soucis du genre si je me souvient bien, peut être trouvera tu des informations ici : https://www.raspberrypi.org/documentati ... t/video.md

Re: Module Jeedom pour MagicMirror²

Publié : 24 oct. 2018, 08:26
par BaaTuuC
Tarlak a écrit :
21 oct. 2018, 20:27
Tu as peut être un soucis d'intensité du signal sur le port hdmi du rasp j'avais eu un petit soucis du genre si je me souvient bien, peut être trouvera tu des informations ici : https://www.raspberrypi.org/documentati ... t/video.md
Je capte le signal pendant un moment puis il coupe au bout d'un moment...
merci du lien
je regarde ca

Re: Module Jeedom pour MagicMirror²

Publié : 24 oct. 2018, 08:49
par Tarlak
A mes debut avec magic mirror j'avais le même soucis avec mon écran, en essayant un autre écran pas de problème, donc j'ai donc bidouillé un peut le fichier de config avec le lient que je t'ai mis afin que l'écran que j'avais prévu fonctionne. Mais une fois que c'est fait il suffit de mettre de coté le fichier config.txt si jamais y a besoin de tout réinstaller à zero ;)