Impossible to multiply by 0.01

Hello,

In my emoncms, i cant create a parameter to divide by 100 my Vrms. I chose x (calibration) and put 0.01 in parameter.

when i add it, nothing happened. I can see in inputs "x log" but undefined. Nothing else. I must kill input to recreate it.

 

What happened ?

webby's picture

Re: Impossible to multiply by 0.01

you need to add an input x0.001 and then a log to feed input afterwards. Working fine for me

Patrice Diliakou's picture

Re: Impossible to multiply by 0.01

Yes but it is not working for me. I dont know why...

 

OK Found. It is a language problem.

I use fr_FR and it is not working. I must commute to en_EN to proceed.

Is there any solution ?

ukmoose's picture

Re: Impossible to multiply by 0.01

Doesn't fr_FR set the number separator from a decimal point to a comma?

Patrice Diliakou's picture

Re: Impossible to multiply by 0.01

Probably.

Jérôme's picture

Re: Impossible to multiply by 0.01

I can confirm this on a old version of emoncms.

With en_EN I can enter 0.01

With fr_FR it seems to be read 0, and a second processing line is created with null null as arguments. If I enter 0,01, then I get an error message: a number is required.

With fr_FR, the 0.01 entered in en_EN is used correctly.

I opened an issue: https://github.com/emoncms/emoncms/issues/154

 

Patrice Diliakou's picture

Re: Impossible to multiply by 0.01

Thank you for your report.

My emoncms is up to date. Y did it 5 days ago and i used last version of it.

 

Patrice Diliakou's picture

Re: Impossible to multiply by 0.01

Hello,

 

Got another problem with my emoncms 8.2.6.

When connected and language selected to en_EN, i can see my zoom graph correctly.

When not connected, emoncms switch to fr_FR (i am french in France...)

Graph appears but empty. nan values everywhere.

Ex :

Total: 0 kWh : 0€ | Average: NaN kWh : NaN€ | NaN€ a week, NaN€ a year | Unit price: 0.14€

 

Is there any solution ?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.