General Question
Having an intention is never enough for punishments (both Strafe and Bußgeld) of the German state. But having an intention and be right at the start of doing the offense (details are complicated) is sometimes punished as an attempt of the offense (Versuch). This is defined in § 13 Ordnungswidrigkeitengesetz (Act on Regulatory Offences).
§ 13 OWiG (= §§ 22-24 Strafgesetzbuch (Criminal Code))
(1) Whoever, in accordance with his understanding of the act, takes a direct step towards the realisation of the factual elements of the offence, shall be deemed to have attempted a regulatory offence.
(2) The attempt may be sanctioned only if expressly provided by law.
(3) If the perpetrator voluntarily renounces further execution of the act or prevents its completion, he shall not be sanctioned for attempt. If the act will not be completed without the contribution of the abandoning party, his voluntary and earnest efforts to prevent its completion shall be sufficient.
(4) If more than one person participates in the act, the one who voluntarily prevents its completion shall not be sanctioned for an attempt. However, his voluntary and earnest efforts to prevent the completion of the act shall suffice if the act is not completed without his contribution or is committed independently of his earlier participation.
If you started the offense but stopped, so you don't fulfill offense, you don't get sanctioned, if you stopped voluntarily (freiwillig), § 13 III OWiG. (The details are more complicated.) This may be the case in your example, but beeing seen by a police officer is no reason for Freiwilligkeit. So you may have attempted the offence.
But an attempted offence gets only sanctioned if this is expressly provided by law, § 13 II OWiG. This is provided for no traffic violation. (But for some of the Straftaten in context of traffic, e.g. § 315b StGB Dangerous disruption of road traffic.)
So the answer to your question is a clear: No
Specific aspects of your case
I have searched the norms for your case, a red light offence for cyclist:
- § 37 II Nr. 1, Nr. 2, Nr. 6 Straßenverkehrsordnung: the rules for traffic light
- § 49 III Nr. 2 StVO: declaring violations of § 37 StVO as regulatory offences (legal basis: § 24 I Straßenverkehrsgesetz)
- Nr. 132a Anlage 1 Bußgeldkatalog-Verordnung: sets 60 € fine for red ligth violations of cyclists (legal basis: § 1 I BKatV)
- Nr. 132a Anlage 1 BKatV: sets 100 € fine for red ligth violations of cyclists after at least one second
- Nr. 3.2.19 Anlage 13 Fahrerlaubnis-Verordnung: sets fine of one point in Fahreignungsregister (driving ability register) for these offences (legal basis: § 40 FeV)
In none of these laws a sanction for attempt is defined.
I'm not sure what you did after getting of your bike, you migth have violated the red ligth walking. For this you can get a 5 € fine (Nr. 130 Anlage 1 BKatV), strictly speaking not a Bußgeld (fine), but only a Verwarnungsgeld (warning fine).
But the competent authority can but doesn't have to sanction the offence, § 47 I OWiG. So the officer just didn't gave you the warning and thought it is OK.