Installation du plugin

Bonjour

Je essaye d’installer le plugin et je rencontre un problème, le demon ne s’installe pas.

Voila le seul log que j’ai trouvé

[2023-02-08 12:20:45]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=conso function=remove callInstallFunction=1
[2023-02-08 12:31:16]INFO : Début d'activation du plugin
[2023-02-08 12:31:17]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2023-02-08 12:31:17]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=conso function=install callInstallFunction=1
[2023-02-08 12:31:17]DEBUG : Installation du Plugin Conso
[2023-02-08 12:31:17]DEBUG : sql : SET NAMES utf8;  DROP TABLE IF EXISTS `conso_jour`; CREATE TABLE `conso_jour` (   `timestamp` bigint(10) DEFAULT NULL,   `rec_date` date NOT NULL ,   `periode` varchar(255) DEFAULT NULL,   `hp` float DEFAULT '0',   `hc` float DEFAULT '0',   `hp2` float DEFAULT '0',   `hc2` float DEFAULT '0',   `hp3` float DEFAULT '0',   `hc3` float DEFAULT '0',   `idx_max_hp` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hp` bigint(9) NOT NULL DEFAULT '0',   `idx_max_hc` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hc` bigint(9) NOT NULL DEFAULT '0',   `idx_max_hp2` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hp2` bigint(9) NOT NULL DEFAULT '0',   `idx_max_hc2` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hc2` bigint(9) NOT NULL DEFAULT '0',   `idx_max_hp3` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hp3` bigint(9) NOT NULL DEFAULT '0',   `idx_max_hc3` bigint(9) NOT NULL DEFAULT '0',   `idx_min_hc3` bigint(9) NOT NULL DEFAULT '0',   `id_eq` int(11) NOT NULL DEFAULT '0',   `temp_max` float DEFAULT NULL,   `temp_min` float DEFAULT NULL,   `temp_moy` float DEFAULT NULL,   `dju` int(10) DEFAULT NULL,   `dju_clim` int(10) DEFAULT NULL,   PRIMARY KEY (`rec_date`,`id_eq`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_periode` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `libelle` varchar(255) DEFAULT NULL,   `date_debut` date DEFAULT NULL,   `date_fin` date DEFAULT NULL,   `id_tva` int(1) DEFAULT '0',   `id_group` int(11) NOT NULL DEFAULT '0',   `graph` varchar(50) DEFAULT 'mois',   `type` int(1) NOT NULL,   `view_tab` int(1) DEFAULT '0',   `view_graph` int(1) DEFAULT '0',   `year_old` int(1) DEFAULT '0',   `position` int(3) NOT NULL,   `type_graph` varchar(255) DEFAULT 'line',   `type_graphHP` varchar(255) DEFAULT 'line',   `type_graphHC` varchar(255) DEFAULT 'line',   `type_graphHP_OLD` varchar(255) DEFAULT 'line',   `type_graphHC_OLD` varchar(255) DEFAULT 'line',   `type_ecq` varchar(255) DEFAULT 'electricity',   `id_ecq` varchar(255) DEFAULT NULL,   PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_price` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `hc` float DEFAULT NULL,   `hp` float DEFAULT NULL,   `hc2` float DEFAULT NULL,   `hp2` float DEFAULT NULL,   `hc3` float DEFAULT NULL,   `hp3` float DEFAULT NULL,   `date_debut` date ,   `date_fin` date ,   `image` varchar(255) DEFAULT NULL,   `niveau` int(3) DEFAULT NULL,   `type_ecq` varchar(255) DEFAULT 'electricity',   PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_taxe` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `libelle` varchar(255) DEFAULT NULL,   `prix` float DEFAULT NULL,   `id_tva` int(1) DEFAULT '0',   `date_debut` date NOT NULL,   `date_fin` date NOT NULL,   `global` int(1) DEFAULT '0',   `fixe` int(1) DEFAULT '0',   `inte` int(1) DEFAULT '0',   `type_ecq` varchar(255) DEFAULT 'electricity',   PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_abo` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `date_debut` date NOT NULL,   `date_fin` date NOT NULL,   `montant` float DEFAULT NULL,   `id_tva` int(1) DEFAULT '1',   `type_ecq` varchar(255) DEFAULT 'electricity',   PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_tva` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `valeur` float DEFAULT NULL,   `date_debut` date NOT NULL,   `date_fin` date NOT NULL,   `global` int(1) DEFAULT '0',   PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_periode_groupe` (   `id_periode` int(11) NOT NULL,   `id_group` int(11) NOT NULL,   PRIMARY KEY (`id_periode`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_groupe` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `libelle` varchar(255) NOT NULL,   `color` varchar(10) DEFAULT NULL,   PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_teleinfo` (   `timestamp` bigint(10) NOT NULL DEFAULT '0',   `rec_date` date NOT NULL ,   `rec_time` time NOT NULL DEFAULT '00:00:00',   `hchp` bigint(9) NOT NULL DEFAULT '0',   `hchc` bigint(9) NOT NULL DEFAULT '0',   `hchp2` bigint(9) NOT NULL DEFAULT '0',   `hchc2` bigint(9) NOT NULL DEFAULT '0',   `hchp3` bigint(9) NOT NULL DEFAULT '0',   `hchc3` bigint(9) NOT NULL DEFAULT '0',   `ptec` varchar(4) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,   `inst1` smallint(6) NOT NULL DEFAULT '0',   `imax1` smallint(6) NOT NULL DEFAULT '0',   `pmax` int(5) NOT NULL DEFAULT '0',   `papp` int(5) NOT NULL DEFAULT '0',   `id_equipement` int(11) NOT NULL DEFAULT '0',   `temp` float DEFAULT NULL,   PRIMARY KEY (`timestamp`,`id_equipement`),   UNIQUE KEY `timestamp` (`timestamp`),   KEY `rec_date` (`rec_date`),   KEY `rec_date_time` (`rec_date`,`rec_time`),   KEY `rec_time` (`rec_time`),   KEY `hchc` (`hchc`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;  CREATE TABLE IF NOT EXISTS `conso_tmp` (   `id_ecq` int(11) NOT NULL,   `hp` bigint(20) DEFAULT NULL,   `hc` bigint(20) DEFAULT NULL,   `hp2` bigint(20) DEFAULT NULL,   `hc2` bigint(20) DEFAULT NULL,   `hp3` bigint(20) DEFAULT NULL,   `hc3` bigint(20) DEFAULT NULL,   `ptec` varchar(255) DEFAULT NULL,   `lastvalue` bigint(20) DEFAULT NULL,   `variation` bigint(20) DEFAULT NULL,   `date_upd` datetime DEFAULT NULL,   `tmp_value` float DEFAULT NULL,   PRIMARY KEY (`id_ecq`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;   INSERT INTO `conso_periode` (`id`, `libelle`, `date_debut`, `date_fin`, `id_tva`, `id_group`, `graph`, `type`, `view_tab`, `view_graph`, `year_old`, `position`, `type_graph`, `type_graphHP`, `type_graphHC`, `type_graphHP_OLD`, `type_graphHC_OLD`) VALUES (1,	'Aujourd hui',	'2015-06-28',	'2016-08-30',	NULL,	2,	'jours',	0,	1,	1,	1,	0,	'column',	'column',	'column',	'spline',	'spline') ON DUPLICATE KEY UPDATE id = id;  INSERT INTO `conso_periode_groupe` (`id_periode`, `id_group`) VALUES (1,	2) ON DUPLICATE KEY UPDATE id_periode = id_periode;  INSERT INTO `conso_groupe` (`id`, `libelle`, `color`) VALUES (1,	'2012',	'#e2eafa'), (2,	'Aucun',	'#ffffff') ON DUPLICATE KEY UPDATE id = id;  INSERT INTO `conso_abo` (`id`,date_debut,date_fin, `montant`,id_tva) VALUES (1,	'2005-01-01','2021-01-01','5.97',1) ON DUPLICATE KEY UPDATE id = id;  INSERT INTO `conso_tva` (`id`, `valeur`, `date_debut`, `date_fin`,`global`) VALUES (1,	5.5,	'2002-01-01',	'2020-12-31',0), (2,	19.6,	'2011-01-01',	'2020-12-31',0), (3,	20,	'2014-01-01',	'2020-12-31',1), (4,	10,	'2014-01-01',	'2020-12-31',0) ON DUPLICATE KEY UPDATE id = id;  INSERT INTO `conso_price` (`id`, `hc`, `hp`, `date_debut`, `date_fin`, `image`, `niveau`) VALUES (1,	0.0579,	0.0935,	'2010-09-14',	'2013-03-25',	NULL,	NULL), (2,	0.0585,	0.0947,	'2013-03-26',	'2021-10-30',	NULL,	NULL) ON DUPLICATE KEY UPDATE id = id;  INSERT INTO `conso_taxe` (`id`, `libelle`, `prix`, `id_tva`,date_debut,date_fin,global,fixe,inte) VALUES (1,	"Taxe sur la consommation finale d\'Electricité (TCFE)",	0.00925,	2,'2005-01-01','2021-01-01',1,0,1), (2,	"Contribution au service Public d'Electricite (CSPE)",	0.0125,	2,'2005-01-01','2021-01-01',1,0,1), (3,	"Contribution Tarifaire d 'Acheminement Electricité (CTA)",	14.21,	1,'2020-02-15','2021-01-01',0,1,0) ON DUPLICATE KEY UPDATE id = id;  CREATE OR REPLACE VIEW `conso_current`  AS (SELECT * FROM conso_teleinfo WHERE rec_date = CURRENT_DATE() OR rec_date = DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY));

Ma confi
Jeedom 4.3.15
RPI4 buster 64
PS : j’ai également tester sur un pi3 buster 32, meme resultat

Bonjour,

Il y a un petit soucis sur la version en cours. Soit tu attends demain matin et fais la maj. Soit tu modifie le fichier comme indiqué ici :

1 « J'aime »

Merci beaucoup !!!

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.